Package org.openurp.edu.base.model
Class Student
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<T>
-
- org.openurp.base.model.NumberIdTimeObject<ID>
-
- org.openurp.edu.base.model.ProjectBasedObject<ID>
-
- org.openurp.edu.base.model.EduLevelBasedObject<Long>
-
- org.openurp.edu.base.model.Student
-
- All Implemented Interfaces:
Serializable,org.beangle.commons.entity.Entity<Long>,org.beangle.commons.entity.TimeEntity,TemporalEntity,EduLevelBasedEntity<Long>,ProjectBasedEntity<Long>
@Entity(name="org.openurp.edu.base.model.Student") public class Student extends EduLevelBasedObject<Long> implements TemporalEntity
学籍信息实现- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DatebeginOn学籍生效日期protected Floatduration学制 学习年限(允许0.5年出现)1protected DateendOn学籍结束日期protected DategraduateOn预计毕业日期protected Map<StdLabelType,StdLabel>labels学生分类标签protected Personperson基本信息protected Programprogram专业培养方案protected booleanregisted是否有学籍protected Stringremark备注protected StudentStatestate学籍状态日志protected Set<StudentState>states状态变化日志protected StdTypestdType学生类别 所在项目内的学生类别protected DatestudyOn入学日期protected StudyTypestudyType学习形式 全日制/业余/函授protected Teachertutor导师protected Useruser用户-
Fields inherited from class org.openurp.base.model.NumberIdTimeObject
updatedAt
-
-
Method Summary
-
Methods inherited from class org.openurp.edu.base.model.EduLevelBasedObject
getLevel, setLevel
-
Methods inherited from class org.openurp.edu.base.model.ProjectBasedObject
getProject, setProject
-
Methods inherited from class org.openurp.base.model.NumberIdTimeObject
getUpdatedAt, setUpdatedAt
-
Methods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.beangle.commons.entity.Entity
getId, isPersisted, isTransient, setId
-
Methods inherited from interface org.openurp.edu.base.model.ProjectBasedEntity
getProject, setProject
-
-
-
-
Field Detail
-
user
@NotNull protected User user
用户
-
person
protected Person person
基本信息
-
stdType
protected StdType stdType
学生类别 所在项目内的学生类别
-
state
protected StudentState state
学籍状态日志
-
states
protected Set<StudentState> states
状态变化日志
-
labels
protected Map<StdLabelType,StdLabel> labels
学生分类标签
-
duration
@NotNull protected Float duration
学制 学习年限(允许0.5年出现)1
-
registed
@NotNull protected boolean registed
是否有学籍
-
beginOn
@NotNull protected Date beginOn
学籍生效日期
-
endOn
@NotNull protected Date endOn
学籍结束日期
-
studyOn
@NotNull protected Date studyOn
入学日期
-
graduateOn
@NotNull protected Date graduateOn
预计毕业日期
-
studyType
protected StudyType studyType
学习形式 全日制/业余/函授
-
tutor
protected Teacher tutor
导师
-
program
protected Program program
专业培养方案
-
remark
@Size(max=2000) protected String remark
备注
-
-
Constructor Detail
-
Student
public Student()
-
Student
public Student(Long id)
-
-
Method Detail
-
getSquad
public Squad getSquad()
-
getDepartment
public Department getDepartment()
-
getDuration
public Float getDuration()
-
setDuration
public void setDuration(Float duration)
-
getGender
public Gender getGender()
-
getGrade
public String getGrade()
-
getMajor
public Major getMajor()
-
getDirection
public Direction getDirection()
-
getName
public String getName()
-
getCode
public String getCode()
-
getRemark
public String getRemark()
-
setRemark
public void setRemark(String remark)
-
getCampus
public Campus getCampus()
-
getBeginOn
public Date getBeginOn()
- Specified by:
getBeginOnin interfaceTemporalEntity
-
setBeginOn
public void setBeginOn(Date beginOn)
- Specified by:
setBeginOnin interfaceTemporalEntity
-
getStudyType
public StudyType getStudyType()
-
setStudyType
public void setStudyType(StudyType studyType)
-
getEndOn
public Date getEndOn()
- Specified by:
getEndOnin interfaceTemporalEntity
-
setEndOn
public void setEndOn(Date endOn)
- Specified by:
setEndOnin interfaceTemporalEntity
-
getStdType
public StdType getStdType()
-
setStdType
public void setStdType(StdType type)
-
addLabel
public void addLabel(StdLabel label)
-
addLabels
public void addLabels(StdLabel... labels)
-
clearLabels
public void clearLabels()
-
getLabels
public Map<StdLabelType,StdLabel> getLabels()
-
setLabels
public void setLabels(Map<StdLabelType,StdLabel> labels)
-
getState
public StudentState getState()
-
setState
public void setState(StudentState state)
-
pointCurrentState
public void pointCurrentState() throws Exception将学籍状态记录日志中的某个符合要求学籍状态记录置为当前学籍状态- Throws:
Exception
-
addState
public void addState(StudentState state)
-
getStates
public Set<StudentState> getStates()
-
setStates
public void setStates(Set<StudentState> states)
-
isRegisted
public boolean isRegisted()
-
setRegisted
public void setRegisted(boolean registed)
-
getPerson
public Person getPerson()
-
setPerson
public void setPerson(Person person)
-
getTutor
public Teacher getTutor()
-
setTutor
public void setTutor(Teacher tutor)
-
getProgram
public Program getProgram()
-
setProgram
public void setProgram(Program program)
-
getUser
public User getUser()
-
setUser
public void setUser(User user)
-
getStudyOn
public Date getStudyOn()
-
setStudyOn
public void setStudyOn(Date studyOn)
-
getGraduateOn
public Date getGraduateOn()
-
setGraduateOn
public void setGraduateOn(Date graduateOn)
-
-