Role

org.beangle.ems.core.user.model.Role
class Role extends IntId, Named, Updated, Enabled, Hierarchical[Role], IProfile, Principal, Remark

Attributes

Graph
Supertypes
trait Remark
trait Principal
trait IProfile
trait Hierarchical[Role]
trait Ordered[Role]
trait Comparable[Role]
trait Enabled
trait Updated
trait Named
class IntId
trait IntIdEntity
class NumId[Int]
trait Entity[Int]
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(id: Int, name: String)

Concrete methods

override def getName: String

Attributes

Definition Classes
Principal
def index: Int

Inherited methods

def <(that: Role): Boolean

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Ordered
def compare(that: Role): Int

Attributes

Inherited from:
Hierarchical
def compareTo(that: Role): Int

Attributes

Inherited from:
Ordered
def depth: Int

Attributes

Inherited from:
Hierarchical
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
def getProperty(name: String): Option[String]

Attributes

Inherited from:
IProfile
def getProperty(field: Dimension): Option[String]

Attributes

Inherited from:
IProfile
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 lastindex: Int

Attributes

Inherited from:
Hierarchical
def matches(other: IProfile): Boolean

Attributes

Inherited from:
IProfile
def persisted: Boolean

Return true if persisted

Return true if persisted

Attributes

Inherited from:
Entity
def setProperty(field: Dimension, value: String): Unit

Attributes

Inherited from:
IProfile

Concrete fields

var creator: User
var domain: Domain
var members: Seq[RoleMember]
var properties: Map[Dimension, String]

Inherited fields

var children: Buffer[Role]

Attributes

Inherited from:
Hierarchical
var enabled: Boolean

查询是否启用

查询是否启用

Attributes

Returns

是否启用

Inherited from:
Enabled
var id: Int

Return Identifier

Return Identifier

Attributes

Inherited from:
NumId
var indexno: String

index no

index no

Attributes

Inherited from:
Hierarchical
var name: String

Attributes

Inherited from:
Named
var parent: Option[Role]

父级菜单

父级菜单

Attributes

Inherited from:
Hierarchical
var remark: Option[String]

Attributes

Inherited from:
Remark
var updatedAt: Instant

Updated At

Updated At

Attributes

Inherited from:
Updated