You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

134 lines
3.2 KiB
Java

1 year ago
package com.sztzjy.linkCommerce.entity;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
/**
*
*
* @author whb
* stu_grade
*/
public class StuGrade {
@ApiModelProperty(notes = "成绩ID主键建议格式GRD_用户ID_时间戳GRD_U1001_202311051230")
private String id;
@ApiModelProperty(notes = "所属项目2023年度期末考试")
private String project;
@ApiModelProperty(notes = "所属模块/科目(如:高等数学)")
private String module;
@ApiModelProperty(notes = "创建时间")
private Date createTime;
@ApiModelProperty(notes = "成绩(支持小数点后两位)")
private BigDecimal score;
@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 = "主观题答卷内容建议存储为JSON格式")
private String content;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id == null ? null : id.trim();
}
public String getProject() {
return project;
}
public void setProject(String project) {
this.project = project == null ? null : project.trim();
}
public String getModule() {
return module;
}
public void setModule(String module) {
this.module = module == null ? null : module.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public BigDecimal getScore() {
return score;
}
public void setScore(BigDecimal score) {
this.score = score;
}
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 String getContent() {
return content;
}
public void setContent(String content) {
this.content = content == null ? null : content.trim();
}
}