InvigilationQuota

org.openurp.edu.exam.model.InvigilationQuota
class InvigilationQuota extends LongId with Remark

监考人员 NatureId(teacher,semester)

Attributes

Graph
Supertypes
trait Remark
class LongId
trait LongIdEntity
class NumId[Long]
trait Entity[Long]
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addQuota(campus: Campus, depart: Department, amount: Float): InvigilationQuotaDetail
def campuses: Set[Campus]
def cleanup(): Boolean
def clearQuota(): Unit
def departs: Set[Department]
def getCampusQuota(campus: Campus): Int

Inherited methods

override def equals(other: Any): Boolean

比较id,如果任一方id是null,则不相等 由于业务对象被CGlib或者javassist增强的原因,这里只提供一般的基于id的比较,不提供基于Class的比较。
如果在存在继承结构, 请重置equals方法。

比较id,如果任一方id是null,则不相等 由于业务对象被CGlib或者javassist增强的原因,这里只提供一般的基于id的比较,不提供基于Class的比较。
如果在存在继承结构, 请重置equals方法。

Attributes

Definition Classes
Entity -> Any
Inherited from:
Entity
override def hashCode: Int

Attributes

See also:

java.lang.Object#hashCode()

Definition Classes
Entity -> Any
Inherited from:
Entity
def persisted: Boolean

Return true if persisted

Return true if persisted

Attributes

Inherited from:
Entity

Concrete fields

var amount: Int

次数

次数

Attributes

监考明细

监考明细

Attributes

var excludes: Buffer[LocalDate]

排除的日期

排除的日期

Attributes

var invigilator: User

教师

教师

Attributes

var project: Project

项目

项目

Attributes

var semester: Semester

学年学期

学年学期

Attributes

Inherited fields

var id: Long

Return Identifier

Return Identifier

Attributes

Inherited from:
NumId
var remark: Option[String]

Attributes

Inherited from:
Remark