0.6.3 增加Role 和Group 的desc字段
This commit is contained in:
@@ -4,4 +4,5 @@ import com.synebula.gaea.domain.model.AggregateRoot
|
||||
|
||||
class Group(override var id: String? = null) : AggregateRoot<String>() {
|
||||
var name = ""
|
||||
var desc = ""
|
||||
}
|
||||
@@ -2,6 +2,7 @@ package com.synebula.zeus.domain.model.rbac
|
||||
|
||||
import com.synebula.gaea.domain.model.AggregateRoot
|
||||
|
||||
class Role(override var id: String?) : AggregateRoot<String>() {
|
||||
class Role(override var id: String? = null) : AggregateRoot<String>() {
|
||||
var name = ""
|
||||
var desc = ""
|
||||
}
|
||||
@@ -5,4 +5,5 @@ import com.synebula.gaea.domain.service.Command
|
||||
class GroupCmd : Command() {
|
||||
var id: String? = null
|
||||
var name = ""
|
||||
var desc = ""
|
||||
}
|
||||
@@ -5,4 +5,5 @@ import com.synebula.gaea.domain.service.Command
|
||||
class RoleCmd : Command() {
|
||||
var id: String? = null
|
||||
var name = ""
|
||||
var desc = ""
|
||||
}
|
||||
Reference in New Issue
Block a user