|
|
|
|
|
package com.sztzjy.linkCommerce.entity;
|
|
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
|
|
|
|
|
|
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 username;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "学生姓名(冗余存储)")
|
|
|
|
|
|
private String name;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "班级ID(关联school_class表)")
|
|
|
|
|
|
private String schoolClassId;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "班级名称(冗余存储)")
|
|
|
|
|
|
private String className;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "统计时间 YYYY-MM-DD")
|
|
|
|
|
|
private String updateTime;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "排名数值(允许NULL表示未入榜)")
|
|
|
|
|
|
private Integer stuRank;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes = "分数")
|
|
|
|
|
|
private BigDecimal score;
|
|
|
|
|
|
|
|
|
|
|
|
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 getUsername() {
|
|
|
|
|
|
return username;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setUsername(String username) {
|
|
|
|
|
|
this.username = username == null ? null : username.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 String getUpdateTime() {
|
|
|
|
|
|
return updateTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setUpdateTime(String updateTime) {
|
|
|
|
|
|
this.updateTime = updateTime == null ? null : updateTime.trim();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Integer getStuRank() {
|
|
|
|
|
|
return stuRank;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setStuRank(Integer stuRank) {
|
|
|
|
|
|
this.stuRank = stuRank;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public BigDecimal getScore() {
|
|
|
|
|
|
return score;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setScore(BigDecimal score) {
|
|
|
|
|
|
this.score = score;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|