修复group问题,增加系统资源
This commit is contained in:
@@ -2,6 +2,6 @@ package com.synebula.zeus.domain.model.rbac
|
||||
|
||||
import com.synebula.gaea.domain.model.AggregateRoot
|
||||
|
||||
class Group(override var id: String?) : AggregateRoot<String>() {
|
||||
class Group(override var id: String? = null) : AggregateRoot<String>() {
|
||||
var name = ""
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.synebula.zeus.domain.model.rbac.resource
|
||||
|
||||
class Page {
|
||||
// 上级页面
|
||||
val supPage = 0
|
||||
|
||||
// 页面图标
|
||||
val icon: String? = null
|
||||
|
||||
// 附加参数
|
||||
val params: String? = null
|
||||
|
||||
// 所属系统
|
||||
val system = 0
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.synebula.zeus.domain.model.rbac.resource
|
||||
|
||||
import com.synebula.gaea.domain.model.Entity
|
||||
|
||||
open class Resource(override var id: String? = null) : Entity<String>() {
|
||||
var name = ""
|
||||
var signature = ""
|
||||
val uri: String? = null
|
||||
var order = 0
|
||||
var desc = ""
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.synebula.zeus.domain.model.rbac.resource
|
||||
|
||||
class Service {
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.synebula.zeus.domain.model.rbac.resource
|
||||
|
||||
class System : Resource() {
|
||||
fun dispose() {}
|
||||
}
|
||||
Reference in New Issue
Block a user