GradeInputSwitch

org.openurp.edu.grade.config.GradeInputSwitch
class GradeInputSwitch extends LongId, InstantRange, Remark

成绩录入开关

Attributes

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

Members list

Value members

Concrete methods

def checkOpen(): Boolean
def checkOpen(date: Instant): Boolean

检查该开关是否开放

检查该开关是否开放

Attributes

Inherited methods

def active: Boolean

Attributes

Inherited from:
InstantRange
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
def within(time: Instant): Boolean

Attributes

Inherited from:
InstantRange

Concrete fields

var needValidate: Boolean

成绩录入验证开关

成绩录入验证开关

Attributes

var project: Project
var semester: Semester
var types: Set[GradeType]

允许录入成绩类型

允许录入成绩类型

Attributes

Inherited fields

var beginAt: Instant

起始时间

起始时间

Attributes

Inherited from:
InstantRange
var endAt: Instant

结束时间

结束时间

Attributes

Inherited from:
InstantRange
var id: Long

Return Identifier

Return Identifier

Attributes

Inherited from:
NumId
var remark: Option[String]

Attributes

Inherited from:
Remark