package com.qxueyou.scc.teach.student.model;
|
// Generated 2018-3-15 16:54:31 by Hibernate Tools 5.2.8.Final
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
import javax.persistence.Temporal;
|
import javax.persistence.TemporalType;
|
|
import org.hibernate.annotations.GenericGenerator;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.qxueyou.scc.base.model.ITrace;
|
|
/**
|
* StuStudent generated by hbm2java
|
*/
|
@Entity
|
@Table(name = "stu_student")
|
public class StuStudent implements java.io.Serializable,ITrace {
|
|
private static final long serialVersionUID = 7504161189427721559L;
|
|
/*
|
* 状态: 已报名,未激活,已毕业
|
*/
|
public static final String STATUS_REGISTER = "register";
|
public static final String STATUS_ACTIVE = "active";
|
public static final String STATUS_DEACTIVE = "deactive";
|
public static final String STATUS_GRADUATED = "graduated";
|
|
/**
|
* 状态:旷课,未打卡,已打卡
|
*/
|
public static final String STATUS_TRUANCY = "truancy";
|
public static final String STATUS_NO_CLOCKING = "noClocking";
|
public static final String STATUS_PUNCHE = "punched";
|
|
private String studentId;
|
private Date createTime;
|
private Date updateTime;
|
private String creator;
|
private String createId;
|
private String updator;
|
private String updateId;
|
private boolean deleteFlag;
|
private String userId;
|
private String name;
|
private String classId;
|
private String subjectId;
|
private String tenantId;
|
private String status;
|
private String studentNo;
|
private boolean sex;
|
private String mobilePhone;
|
private BigDecimal studyDuration;
|
private BigDecimal score;
|
private String studentNumber;
|
private String attendanceStatus;
|
private String graduationText;
|
private String comment;
|
//照片
|
private String photo;
|
//护照名
|
private String passporName;
|
//国籍
|
private String nationality;
|
//祖籍地
|
private String ancestralHome;
|
//出生日期
|
private String birthday;
|
//出生地
|
private String birthplace;
|
//是否港澳台侨
|
private String chinaStatus;
|
//户口详细地址
|
private String registeredAddress;
|
//家庭详细地址
|
private String homeAddress;
|
//宗教信仰
|
private String religiousBelief;
|
//邮箱地址
|
private String email;
|
//工作单位
|
private String workUnit;
|
//毕业去向
|
private String graduationDestination;
|
|
public StuStudent(String studentId, Date createTime, Date updateTime, String creator, String createId, String updator, String updateId, boolean deleteFlag, String userId, String name, String classId, String subjectId, String tenantId, String status, String studentNo, boolean sex, String mobilePhone, BigDecimal studyDuration, BigDecimal score, String studentNumber, String attendanceStatus, String graduationText, String comment, String photo, String passporName, String nationality, String ancestralHome, String birthday, String birthplace, String chinaStatus, String registeredAddress, String homeAddress, String religiousBelief, String email, String workUnit, String graduationDestination) {
|
this.studentId = studentId;
|
this.createTime = createTime;
|
this.updateTime = updateTime;
|
this.creator = creator;
|
this.createId = createId;
|
this.updator = updator;
|
this.updateId = updateId;
|
this.deleteFlag = deleteFlag;
|
this.userId = userId;
|
this.name = name;
|
this.classId = classId;
|
this.subjectId = subjectId;
|
this.tenantId = tenantId;
|
this.status = status;
|
this.studentNo = studentNo;
|
this.sex = sex;
|
this.mobilePhone = mobilePhone;
|
this.studyDuration = studyDuration;
|
this.score = score;
|
this.studentNumber = studentNumber;
|
this.attendanceStatus = attendanceStatus;
|
this.graduationText = graduationText;
|
this.comment = comment;
|
this.photo = photo;
|
this.passporName = passporName;
|
this.nationality = nationality;
|
this.ancestralHome = ancestralHome;
|
this.birthday = birthday;
|
this.birthplace = birthplace;
|
this.chinaStatus = chinaStatus;
|
this.registeredAddress = registeredAddress;
|
this.homeAddress = homeAddress;
|
this.religiousBelief = religiousBelief;
|
this.email = email;
|
this.workUnit = workUnit;
|
this.graduationDestination = graduationDestination;
|
}
|
|
public StuStudent() {
|
}
|
|
@Id
|
@GeneratedValue(generator = "hibernate-uuid")
|
@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
|
@Column(name = "STUDENT_ID", unique = true, nullable = false, length = 32)
|
public String getStudentId() {
|
return this.studentId;
|
}
|
|
public void setStudentId(String studentId) {
|
this.studentId = studentId;
|
}
|
|
@Column(name = "CREATE_TIME", nullable = false, length = 19)
|
@Temporal(TemporalType.TIMESTAMP)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonIgnore
|
public Date getCreateTime() {
|
return this.createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
@Column(name = "UPDATE_TIME", nullable = false, length = 19)
|
@Temporal(TemporalType.TIMESTAMP)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonIgnore
|
public Date getUpdateTime() {
|
return this.updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
@Column(name = "CREATOR", nullable = false, length = 100)
|
public String getCreator() {
|
return this.creator;
|
}
|
|
public void setCreator(String creator) {
|
this.creator = creator;
|
}
|
|
@Column(name = "CREATE_ID", nullable = false, length = 32)
|
public String getCreateId() {
|
return this.createId;
|
}
|
|
public void setCreateId(String createId) {
|
this.createId = createId;
|
}
|
|
@Column(name = "UPDATOR", length = 100)
|
public String getUpdator() {
|
return this.updator;
|
}
|
|
public void setUpdator(String updator) {
|
this.updator = updator;
|
}
|
|
@Column(name = "UPDATE_ID", length = 32)
|
public String getUpdateId() {
|
return this.updateId;
|
}
|
|
public void setUpdateId(String updateId) {
|
this.updateId = updateId;
|
}
|
|
@Column(name = "DELETE_FLAG", nullable = false)
|
public boolean getDeleteFlag() {
|
return this.deleteFlag;
|
}
|
|
public void setDeleteFlag(boolean deleteFlag) {
|
this.deleteFlag = deleteFlag;
|
}
|
|
@Column(name = "USER_ID", length = 32)
|
public String getUserId() {
|
return this.userId;
|
}
|
|
public void setUserId(String userId) {
|
this.userId = userId;
|
}
|
|
@Column(name = "NAME", length = 150)
|
public String getName() {
|
return this.name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
@Column(name = "CLASS_ID", length = 32)
|
public String getClassId() {
|
return this.classId;
|
}
|
|
public void setClassId(String classId) {
|
this.classId = classId;
|
}
|
|
@Column(name = "TENANT_ID", length = 32)
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public void setTenantId(String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
@Column(name = "STATUS", length = 16)
|
public String getStatus() {
|
return this.status;
|
}
|
|
public void setStatus(String status) {
|
this.status = status;
|
}
|
@Column(name = "ATTENDANCE_STATUS", length = 16)
|
public String getAttendanceStatus() {
|
return this.attendanceStatus;
|
}
|
|
public void setAttendanceStatus(String attendanceStatus) {
|
this.attendanceStatus = attendanceStatus;
|
}
|
|
@Column(name = "GRADUATION_TEXT", length = 200)
|
public String getGraduationText() {
|
return this.graduationText;
|
}
|
|
public void setGraduationText(String graduationText) {
|
this.graduationText = graduationText;
|
}
|
|
@Column(name = "COMMENT", length = 200)
|
public String getComment() {
|
return this.comment;
|
}
|
public void setComment(String comment) {
|
this.comment = comment;
|
}
|
|
@Column(name = "STUDENT_NO", length = 32)
|
public String getStudentNo() {
|
return studentNo;
|
}
|
|
public void setStudentNo(String studentNo) {
|
this.studentNo = studentNo;
|
}
|
|
@Column(name = "SEX")
|
public boolean getSex() {
|
return sex;
|
}
|
|
public void setSex(boolean sex) {
|
this.sex = sex;
|
}
|
|
@Column(name = "MOBILE_PHONE", length = 16)
|
public String getMobilePhone() {
|
return mobilePhone;
|
}
|
|
public void setMobilePhone(String mobilePhone) {
|
this.mobilePhone = mobilePhone;
|
}
|
|
@Column(name = "STUDY_DURATION", precision = 10, scale = 2)
|
public BigDecimal getStudyDuration() {
|
return studyDuration;
|
}
|
|
public void setStudyDuration(BigDecimal studyDuration) {
|
this.studyDuration = studyDuration;
|
}
|
|
@Column(name = "SCORE", precision = 10, scale = 2)
|
public BigDecimal getScore() {
|
return score;
|
}
|
|
public void setScore(BigDecimal score) {
|
this.score = score;
|
}
|
|
@Column(name = "SUBJECT_ID", length=32)
|
public String getSubjectId() {
|
return subjectId;
|
}
|
|
public void setSubjectId(String subjectId) {
|
this.subjectId = subjectId;
|
}
|
|
@Column(name = "STUDENTSUMBER", length=30)
|
public String getStudentNumber() {
|
return studentNumber;
|
}
|
|
public void setStudentNumber(String studentNumber) {
|
this.studentNumber = studentNumber;
|
}
|
|
@Column(name = "PHOTO", length = 50)
|
public String getPhoto() {
|
return photo;
|
}
|
|
public void setPhoto(String photo) {
|
this.photo = photo;
|
}
|
|
@Column(name = "PASSPORT_NAME", length = 100)
|
public String getPassporName() {
|
return passporName;
|
}
|
|
public void setPassporName(String passporName) {
|
this.passporName = passporName;
|
}
|
|
@Column(name = "NATIONALITY", length = 32)
|
public String getNationality() {
|
return nationality;
|
}
|
|
public void setNationality(String nationality) {
|
this.nationality = nationality;
|
}
|
|
@Column(name = "ANCESTRAL_HOME", length = 50)
|
public String getAncestralHome() {
|
return ancestralHome;
|
}
|
|
public void setAncestralHome(String ancestralHome) {
|
this.ancestralHome = ancestralHome;
|
}
|
|
@Column(name = "BIRTHDAY", length = 50)
|
public String getBirthday() {
|
return birthday;
|
}
|
|
public void setBirthday(String birthday) {
|
this.birthday = birthday;
|
}
|
|
@Column(name = "BIRTHPLACE", length = 50)
|
public String getBirthplace() {
|
return birthplace;
|
}
|
|
public void setBirthplace(String birthplace) {
|
this.birthplace = birthplace;
|
}
|
|
@Column(name = "CHINA_STATUS", length = 16)
|
public String getChinaStatus() {
|
return chinaStatus;
|
}
|
|
public void setChinaStatus(String chinaStatus) {
|
this.chinaStatus = chinaStatus;
|
}
|
|
@Column(name = "REGISTERED_ADDRESS", length = 50)
|
public String getRegisteredAddress() {
|
return registeredAddress;
|
}
|
|
public void setRegisteredAddress(String registeredAddress) {
|
this.registeredAddress = registeredAddress;
|
}
|
|
@Column(name = "HOME_ADDRESS", length = 50)
|
public String getHomeAddress() {
|
return homeAddress;
|
}
|
|
public void setHomeAddress(String homeAddress) {
|
this.homeAddress = homeAddress;
|
}
|
|
@Column(name = "RELIGIOUS_BELIEF", length = 150)
|
public String getReligiousBelief() {
|
return religiousBelief;
|
}
|
|
public void setReligiousBelief(String religiousBelief) {
|
this.religiousBelief = religiousBelief;
|
}
|
|
@Column(name = "EMAIL", length = 32)
|
public String getEmail() {
|
return email;
|
}
|
|
public void setEmail(String email) {
|
this.email = email;
|
}
|
|
@Column(name = "WORK_UNIT", length = 32)
|
public String getWorkUnit() {
|
return workUnit;
|
}
|
|
public void setWorkUnit(String workUnit) {
|
this.workUnit = workUnit;
|
}
|
|
@Column(name = "GRADUATION_DESTINATION", length = 32)
|
public String getGraduationDestination() {
|
return graduationDestination;
|
}
|
|
public void setGraduationDestination(String graduationDestination) {
|
this.graduationDestination = graduationDestination;
|
}
|
}
|