package com.qxueyou.scc.exercise.model;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.math.BigInteger;
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.Id;
|
import javax.persistence.NamedQuery;
|
import javax.persistence.Table;
|
|
import org.hibernate.annotations.GenericGenerator;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.qxueyou.scc.base.model.ITrace;
|
|
|
/**
|
* The persistent class for the EXERCISE_FAULT_STATISTICS database table.
|
*
|
*/
|
@Entity
|
@Table(name="EXERCISE_FAULT_STATISTICS")
|
@NamedQuery(name="ExerciseFaultStatistics.findAll", query="SELECT e FROM ExerciseFaultStatistics e")
|
public class ExerciseFaultStatistics implements Serializable,ITrace {
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@GeneratedValue(generator = "hibernate-uuid")
|
@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
|
@Column(name="FAULT_STATISTICS_ID", unique=true, nullable=false, length=32)
|
private String faultStatisticsId;
|
|
// 做题个数
|
@Column(name="DO_COUNT")
|
private BigInteger doCount;
|
|
// 错误个数
|
@Column(name="FAULT_COUNT")
|
private BigInteger faultCount;
|
|
// 错误率
|
@Column(name="FAULT_RATE", precision=10, scale=2)
|
private BigDecimal faultRate;
|
|
// 做题时间
|
@Column(name="EXERCISE_TIME")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date exerciseTime;
|
|
@Column(name="USER_ID", length=32)
|
private String userId;
|
|
@Column(name="SUBJECT_ID", length=32)
|
private String subjectId;
|
|
@Column(name="CLASS_ID", length=32)
|
private String classId;
|
|
@Column(name="COLLEGE_COURSE_ID", length=32)
|
private String collegeCourseId;
|
|
@Column(name="ORG_ID", length=32)
|
private String orgId;
|
|
@Column(name="CREATE_ID", nullable=false, length=32)
|
@JsonIgnore
|
private String createId;
|
|
@Column(name="CREATE_TIME", nullable=false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonIgnore
|
private Date createTime;
|
|
@Column(name="CREATOR", nullable=false, length=100)
|
@JsonIgnore
|
private String creator;
|
|
@Column(name="DELETE_FLAG", nullable=false)
|
@JsonIgnore
|
private boolean deleteFlag;
|
|
@Column(name="UPDATE_ID", length=32)
|
@JsonIgnore
|
private String updateId;
|
|
@Column(name="UPDATE_TIME", nullable=false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonIgnore
|
private Date updateTime;
|
|
@Column(name="UPDATOR", length=100)
|
@JsonIgnore
|
private String updator;
|
|
public String getFaultStatisticsId() {
|
return faultStatisticsId;
|
}
|
|
public void setFaultStatisticsId(String faultStatisticsId) {
|
this.faultStatisticsId = faultStatisticsId;
|
}
|
|
public BigInteger getDoCount() {
|
return doCount;
|
}
|
|
public void setDoCount(BigInteger doCount) {
|
this.doCount = doCount;
|
}
|
|
public BigInteger getFaultCount() {
|
return faultCount;
|
}
|
|
public void setFaultCount(BigInteger faultCount) {
|
this.faultCount = faultCount;
|
}
|
|
public BigDecimal getFaultRate() {
|
return faultRate;
|
}
|
|
public void setFaultRate(BigDecimal faultRate) {
|
this.faultRate = faultRate;
|
}
|
|
public Date getExerciseTime() {
|
return exerciseTime;
|
}
|
|
public void setExerciseTime(Date exerciseTime) {
|
this.exerciseTime = exerciseTime;
|
}
|
|
public String getSubjectId() {
|
return subjectId;
|
}
|
|
public void setSubjectId(String subjectId) {
|
this.subjectId = subjectId;
|
}
|
|
public String getClassId() {
|
return classId;
|
}
|
|
public void setClassId(String classId) {
|
this.classId = classId;
|
}
|
|
public String getCollegeCourseId() {
|
return collegeCourseId;
|
}
|
|
public void setCollegeCourseId(String collegeCourseId) {
|
this.collegeCourseId = collegeCourseId;
|
}
|
|
public String getOrgId() {
|
return orgId;
|
}
|
|
public void setOrgId(String orgId) {
|
this.orgId = orgId;
|
}
|
|
public String getCreateId() {
|
return createId;
|
}
|
|
public void setCreateId(String createId) {
|
this.createId = createId;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getCreator() {
|
return creator;
|
}
|
|
public void setCreator(String creator) {
|
this.creator = creator;
|
}
|
|
public boolean getDeleteFlag() {
|
return deleteFlag;
|
}
|
|
public void setDeleteFlag(boolean deleteFlag) {
|
this.deleteFlag = deleteFlag;
|
}
|
|
public String getUpdateId() {
|
return updateId;
|
}
|
|
public void setUpdateId(String updateId) {
|
this.updateId = updateId;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getUpdator() {
|
return updator;
|
}
|
|
public void setUpdator(String updator) {
|
this.updator = updator;
|
}
|
|
public String getUserId() {
|
return userId;
|
}
|
|
public void setUserId(String userId) {
|
this.userId = userId;
|
}
|
|
}
|