Session

org.openurp.edu.clazz.model.Session
class Session extends LongId with Ordered[Session] with Activity

教学活动

上课对象是任务对应的教学班学生

Attributes

Graph
Supertypes
trait Activity
trait Ordered[Session]
trait Comparable[Session]
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

override def compare(other: Session): Int

对比活动

对比活动

Attributes

Definition Classes
Ordered
override def startOn: LocalDate

Attributes

Definition Classes
Activity

Inherited methods

def <(that: Session): Boolean

Attributes

Inherited from:
Ordered
def <=(that: Session): Boolean

Attributes

Inherited from:
Ordered
def >(that: Session): Boolean

Attributes

Inherited from:
Ordered
def >=(that: Session): Boolean

Attributes

Inherited from:
Ordered
def compareTo(that: Session): Int

Attributes

Inherited from:
Ordered
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

教学任务

教学任务

Attributes

var places: Option[String]

授课场所

授课场所

Attributes

var rooms: Set[Classroom]

教室列表

教室列表

Attributes

var subclazz: Option[Subclazz]

针对授课小班

针对授课小班

Attributes

var teachers: Set[Teacher]

授课教师列表

授课教师列表

Attributes

var teachingMethod: TeachingMethod

授课方式

授课方式

Attributes

var teachingNature: TeachingNature

授课性质

授课性质

Attributes

var time: WeekTime

上课时间

上课时间

Attributes

Inherited fields

var id: Long

Return Identifier

Return Identifier

Attributes

Inherited from:
NumId