ExactMember

data class ExactMember(groupId: Long, memberId: Long) : AbstractPermitteeId

表示唯一的一个群成员

Constructors

ExactMember
Link copied to clipboard
fun ExactMember(groupId: Long, memberId: Long)

Functions

asString
Link copied to clipboard
open override fun asString(): String

转换为字符串表示. 用于权限服务识别和指令的解析.

toString
Link copied to clipboard
override fun toString(): String

Properties

directParents
Link copied to clipboard
override val directParents: Array<out PermitteeId>

直接父 PermitteeId. 在检查权限时会首先检查自己, 再递归检查父类.

groupId
Link copied to clipboard
val groupId: Long
memberId
Link copied to clipboard
val memberId: Long