User

org.beangle.ems.core.user.model.User
class User extends LongId with Coded with Named with Updated with TemporalOn with Principal with Remark

Attributes

Graph
Supertypes
trait Remark
trait Principal
trait TemporalOn
trait Updated
trait Named
trait Coded
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 getName: String

Attributes

Definition Classes
Principal

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 implies(x$0: Subject): Boolean

Attributes

Inherited from:
Principal
def persisted: Boolean

Return true if persisted

Return true if persisted

Attributes

Inherited from:
Entity
def within(date: LocalDate): Boolean

Attributes

Inherited from:
TemporalOn

Concrete fields

var acounts: Buffer[Account]
var avatarId: Option[String]
var groups: Buffer[GroupMember]
var org: Org
var roles: Buffer[RoleMember]

Inherited fields

var beginOn: LocalDate

起始日期

起始日期

Attributes

Inherited from:
TemporalOn
var code: String

Attributes

Inherited from:
Coded
var endOn: Option[LocalDate]

结束日期

结束日期

Attributes

Inherited from:
TemporalOn
var id: Long

Return Identifier

Return Identifier

Attributes

Inherited from:
NumId
var name: String

Attributes

Inherited from:
Named
var remark: Option[String]

Attributes

Inherited from:
Remark
var updatedAt: Instant

Updated At

Updated At

Attributes

Inherited from:
Updated