Package org.openurp.edu.exam.model
Class Invigilation
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<Long>
-
- org.beangle.commons.entity.pojo.LongIdObject
-
- org.openurp.edu.exam.model.Invigilation
-
- All Implemented Interfaces:
Serializable,org.beangle.commons.entity.Entity<Long>
@Entity(name="org.openurp.edu.exam.model.Invigilation") public class Invigilation extends org.beangle.commons.entity.pojo.LongIdObject监考任务- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Departmentdepartment监考院系protected Userinvigilator监考老师protected StringinvigilatorName自定义监考
-
Constructor Summary
Constructors Constructor Description Invigilation()Invigilation(ExamRoom examRoom, String teacherName, Department department)Invigilation(ExamRoom examRoom, User user, Department department)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DepartmentgetDepartment()ExamRoomgetExamRoom()UsergetInvigilator()StringgetInvigilatorName()DategetUpdatedAt()booleanisChief()booleanisPublished()booleanisSameMonitor(Invigilation other)voidsetChief(boolean chief)voidsetDepartment(Department department)voidsetExamRoom(ExamRoom examRoom)voidsetInvigilator(User invigilator)voidsetInvigilatorName(String invigilatorName)voidsetPublished(boolean published)voidsetUpdatedAt(Date updatedAt)
-
-
-
Field Detail
-
department
@NotNull protected Department department
监考院系
-
invigilator
protected User invigilator
监考老师
-
invigilatorName
@Size(max=50) protected String invigilatorName
自定义监考
-
-
Constructor Detail
-
Invigilation
public Invigilation()
-
Invigilation
public Invigilation(ExamRoom examRoom, User user, Department department)
-
Invigilation
public Invigilation(ExamRoom examRoom, String teacherName, Department department)
-
-
Method Detail
-
getExamRoom
public ExamRoom getExamRoom()
-
setExamRoom
public void setExamRoom(ExamRoom examRoom)
-
isSameMonitor
public boolean isSameMonitor(Invigilation other)
-
getDepartment
public Department getDepartment()
-
setDepartment
public void setDepartment(Department department)
-
getInvigilator
public User getInvigilator()
-
setInvigilator
public void setInvigilator(User invigilator)
-
getInvigilatorName
public String getInvigilatorName()
-
setInvigilatorName
public void setInvigilatorName(String invigilatorName)
-
isChief
public boolean isChief()
-
setChief
public void setChief(boolean chief)
-
isPublished
public boolean isPublished()
-
setPublished
public void setPublished(boolean published)
-
getUpdatedAt
public Date getUpdatedAt()
-
setUpdatedAt
public void setUpdatedAt(Date updatedAt)
-
-