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 Teacherteacher监考老师protected StringteacherName自定义监考
-
Constructor Summary
Constructors Constructor Description Invigilation()Invigilation(ExamRoom examRoom, String teacherName, Department department)Invigilation(ExamRoom examRoom, Teacher teacher, Department department)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DepartmentgetDepartment()ExamRoomgetExamRoom()TeachergetTeacher()StringgetTeacherName()DategetUpdatedAt()booleanisChief()booleanisPublished()booleanisSameMonitor(Invigilation other)voidsetChief(boolean chief)voidsetDepartment(Department department)voidsetExamRoom(ExamRoom examRoom)voidsetPublished(boolean published)voidsetTeacher(Teacher teacher)voidsetTeacherName(String teacherName)voidsetUpdatedAt(Date updatedAt)
-
-
-
Field Detail
-
teacher
protected Teacher teacher
监考老师
-
department
@NotNull protected Department department
监考院系
-
teacherName
@Size(max=50) protected String teacherName
自定义监考
-
-
Constructor Detail
-
Invigilation
public Invigilation()
-
Invigilation
public Invigilation(ExamRoom examRoom, Teacher teacher, 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)
-
getTeacher
public Teacher getTeacher()
-
setTeacher
public void setTeacher(Teacher teacher)
-
getTeacherName
public String getTeacherName()
-
setTeacherName
public void setTeacherName(String teacherName)
-
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)
-
-