Package org.openurp.stu.model
Class Punishment
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<Long>
-
- org.beangle.commons.entity.pojo.LongIdObject
-
- org.openurp.stu.model.Punishment
-
- All Implemented Interfaces:
Serializable,org.beangle.commons.entity.Entity<Long>
@Entity(name="org.openurp.stu.model.Punishment") public class Punishment extends org.beangle.commons.entity.pojo.LongIdObject处分记录- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Departmentdepart部门protected DatepresentOn日期protected Stringremark备注protected Studentstd学生protected DatewithdrawOn撤销日期
-
Constructor Summary
Constructors Constructor Description Punishment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DepartmentgetDepart()StringgetDocSeq()StringgetName()DategetPresentOn()StringgetReason()StringgetRemark()SemestergetSemester()StudentgetStd()StdPunishTypegetType()DategetWithdrawOn()booleanisValid()voidsetDepart(Department depart)voidsetDocSeq(String docSeq)voidsetName(String name)voidsetPresentOn(Date presentOn)voidsetReason(String reason)voidsetRemark(String remark)voidsetSemester(Semester semester)voidsetStd(Student std)voidsetType(StdPunishType type)voidsetValid(boolean valid)voidsetWithdrawOn(Date withdrawOn)
-
-
-
Field Detail
-
std
@NotNull protected Student std
学生
-
presentOn
@NotNull protected Date presentOn
日期
-
withdrawOn
protected Date withdrawOn
撤销日期
-
depart
protected Department depart
部门
-
remark
@Size(max=500) protected String remark
备注
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getReason
public String getReason()
-
setReason
public void setReason(String reason)
-
getDepart
public Department getDepart()
-
setDepart
public void setDepart(Department depart)
-
getPresentOn
public Date getPresentOn()
-
setPresentOn
public void setPresentOn(Date presentOn)
-
getRemark
public String getRemark()
-
setRemark
public void setRemark(String remark)
-
getStd
public Student getStd()
-
setStd
public void setStd(Student std)
-
getType
public StdPunishType getType()
-
setType
public void setType(StdPunishType type)
-
getWithdrawOn
public Date getWithdrawOn()
-
setWithdrawOn
public void setWithdrawOn(Date withdrawOn)
-
getSemester
public Semester getSemester()
-
setSemester
public void setSemester(Semester semester)
-
isValid
public boolean isValid()
-
setValid
public void setValid(boolean valid)
-
getDocSeq
public String getDocSeq()
-
setDocSeq
public void setDocSeq(String docSeq)
-
-