|
|
|
|
|
package com.sztzjy.linkCommerce.entity;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 学生排名表
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author whb
|
|
|
|
|
|
* stu_rank
|
|
|
|
|
|
*/
|
|
|
|
|
|
public class StuRank {
|
|
|
|
|
|
@ApiModelProperty(notes = "排名记录ID(主键,建议格式:RANK_时间戳_哈希值,例:RANK_2023110614_9d7b6c5e)")
|
|
|
|
|
|
private String id;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "学校ID(关联school表)")
|
|
|
|
|
|
private String schoolId;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "用户ID(关联userinfo表)")
|
|
|
|
|
|
private String userId;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "学生姓名(冗余存储)")
|
|
|
|
|
|
private String name;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "班级ID(关联school_class表)")
|
|
|
|
|
|
private String schoolClassId;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "班级名称(冗余存储)")
|
|
|
|
|
|
private String className;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "统计时间(格式:YYYY-MM-DD,如月度排名则存当月1号)")
|
|
|
|
|
|
private Date time;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "排名数值(允许NULL表示未入榜)")
|
|
|
|
|
|
private Integer rank;
|
|
|
|
|
|
|
|
|
|
|
|
public String getId() {
|
|
|
|
|
|
return id;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setId(String id) {
|
|
|
|
|
|
this.id = id == null ? null : id.trim();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getSchoolId() {
|
|
|
|
|
|
return schoolId;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setSchoolId(String schoolId) {
|
|
|
|
|
|
this.schoolId = schoolId == null ? null : schoolId.trim();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getUserId() {
|
|
|
|
|
|
return userId;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setUserId(String userId) {
|
|
|
|
|
|
this.userId = userId == null ? null : userId.trim();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getName() {
|
|
|
|
|
|
return name;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setName(String name) {
|
|
|
|
|
|
this.name = name == null ? null : name.trim();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getSchoolClassId() {
|
|
|
|
|
|
return schoolClassId;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setSchoolClassId(String schoolClassId) {
|
|
|
|
|
|
this.schoolClassId = schoolClassId == null ? null : schoolClassId.trim();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getClassName() {
|
|
|
|
|
|
return className;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setClassName(String className) {
|
|
|
|
|
|
this.className = className == null ? null : className.trim();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Date getTime() {
|
|
|
|
|
|
return time;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setTime(Date time) {
|
|
|
|
|
|
this.time = time;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Integer getRank() {
|
|
|
|
|
|
return rank;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setRank(Integer rank) {
|
|
|
|
|
|
this.rank = rank;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|