Package org.openurp.edu.exam.model
Class InvigilationQuota
java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<Long>
org.beangle.commons.entity.pojo.LongIdObject
org.openurp.edu.exam.model.InvigilationQuota
- All Implemented Interfaces:
Serializable,org.beangle.commons.entity.Entity<Long>
@Entity(name="org.openurp.edu.exam.model.InvigilationQuota")
public class InvigilationQuota
extends org.beangle.commons.entity.pojo.LongIdObject
็่ไบบๅ
NatureId(teacher,semester)
- Author:
- chaostone
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class org.beangle.commons.entity.pojo.NumberIdObject
id -
Constructor Summary
Constructors Constructor Description InvigilationQuota() -
Method Summary
Modifier and Type Method Description InvigilationQuotaDetailaddQuota(Campus campus, Department depart, float amount)booleancleanup()voidclearQuota()intgetAmount()Set<Campus>getCampuses()intgetCampusQuota(Campus campus)Set<Department>getDeparts()List<InvigilationQuotaDetail>getDetails()List<Date>getExcludes()UsergetInvigilator()ProjectgetProject()StringgetRemark()SemestergetSemester()voidsetAmount(int amount)voidsetDetails(List<InvigilationQuotaDetail> details)voidsetExcludes(List<Date> excludes)voidsetInvigilator(User invigilator)voidsetProject(Project project)voidsetRemark(String remark)voidsetSemester(Semester semester)Methods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setId
-
Constructor Details
-
InvigilationQuota
public InvigilationQuota()
-
-
Method Details
-
setRemark
-
getRemark
-
getSemester
-
setSemester
-
getProject
-
setProject
-
getAmount
public int getAmount() -
setAmount
public void setAmount(int amount) -
getExcludes
-
setExcludes
-
getDetails
-
setDetails
-
getInvigilator
-
setInvigilator
-
addQuota
-
clearQuota
public void clearQuota() -
cleanup
public boolean cleanup() -
getDeparts
-
getCampuses
-
getCampusQuota
-