package com.qxueyou.scc.admin.score.model.view;
|
// Generated 2018-3-19 20:40:08 by Hibernate Tools 5.2.8.Final
|
|
import java.math.BigDecimal;
|
|
import javax.persistence.AttributeOverride;
|
import javax.persistence.AttributeOverrides;
|
import javax.persistence.Column;
|
import javax.persistence.EmbeddedId;
|
import javax.persistence.Entity;
|
import javax.persistence.Table;
|
|
/**
|
* HomeworkScoreV generated by hbm2java
|
*/
|
@Entity
|
@Table(name = "homework_score_v")
|
public class HomeworkScoreV implements java.io.Serializable {
|
|
private static final long serialVersionUID = 1273830629154206698L;
|
|
private HomeworkScoreVId id;
|
|
private String userName;
|
private String homeworkName;
|
private BigDecimal score;
|
private String subjectId;
|
private String classId;
|
private String completeStatus;
|
|
public HomeworkScoreV() {
|
}
|
|
public HomeworkScoreV(HomeworkScoreVId id) {
|
this.id = id;
|
}
|
|
@EmbeddedId
|
@AttributeOverrides({
|
@AttributeOverride(name = "homeworkId", column = @Column(name = "HOMEWORK_ID", length = 32)),
|
@AttributeOverride(name = "userId", column = @Column(name = "USER_ID", length = 32)),
|
})
|
public HomeworkScoreVId getId() {
|
return this.id;
|
}
|
|
public void setId(HomeworkScoreVId id) {
|
this.id = id;
|
}
|
|
@Column(name = "USER_NAME")
|
public String getUserName() {
|
return userName;
|
}
|
|
public void setUserName(String userName) {
|
this.userName = userName;
|
}
|
|
@Column(name = "HOMEWORK_NAME")
|
public String getHomeworkName() {
|
return homeworkName;
|
}
|
|
public void setHomeworkName(String homeworkName) {
|
this.homeworkName = homeworkName;
|
}
|
|
@Column(name = "SCORE")
|
public BigDecimal getScore() {
|
return score;
|
}
|
|
public void setScore(BigDecimal score) {
|
this.score = score;
|
}
|
|
@Column(name = "SUBJECT_ID")
|
public String getSubjectId() {
|
return subjectId;
|
}
|
|
public void setSubjectId(String subjectId) {
|
this.subjectId = subjectId;
|
}
|
|
@Column(name = "CLASS_ID")
|
public String getClassId() {
|
return classId;
|
}
|
|
public void setClassId(String classId) {
|
this.classId = classId;
|
}
|
|
@Column(name = "COMPLETE_STATUS")
|
public String getCompleteStatus() {
|
return completeStatus;
|
}
|
|
public void setCompleteStatus(String completeStatus) {
|
this.completeStatus = completeStatus;
|
}
|
|
}
|