完善权限认证功能

This commit is contained in:
2020-11-02 00:04:27 +08:00
parent e09d2db2b8
commit 27a070cb36
17 changed files with 151 additions and 41 deletions

View File

@@ -3,5 +3,6 @@ package com.synebula.zeus.domain.model.rbac.resource
import com.synebula.gaea.domain.model.IAggregateRoot
class Interface : Resource(), IAggregateRoot<String> {
var system = ""
override var alive = true
}

View File

@@ -5,16 +5,16 @@ import com.synebula.gaea.domain.model.IAggregateRoot
class Page : Resource(), IAggregateRoot<String> {
// 上级页面
val supPage = 0
var parent = ""
// 页面图标
val icon: String? = null
var icon: String? = null
// 附加参数
val params: String? = null
var params: String? = null
// 所属系统
val system = 0
var system = ""
override var alive = true

View File

@@ -4,8 +4,8 @@ import com.synebula.gaea.domain.model.Entity
abstract class Resource(override var id: String? = null) : Entity<String>() {
var name = ""
var signature = ""
val uri: String? = null
//资源定位符唯一标识。可以是uil也可以是别名
var uri = ""
var order = 0
var desc = ""
var desc: String? = null
}

View File

@@ -1,5 +1,6 @@
package com.synebula.zeus.domain.service.cmd.rbac.resource
class InterfaceCmd : ResourceCmd() {
var system = ""
var alive = true
}

View File

@@ -3,16 +3,16 @@ package com.synebula.zeus.domain.service.cmd.rbac.resource
class PageCmd : ResourceCmd() {
// 上级页面
val supPage = 0
var parent = ""
// 页面图标
val icon: String? = null
var icon: String? = null
// 附加参数
val params: String? = null
var params: String? = null
// 所属系统
val system = 0
var system = ""
var alive = true

View File

@@ -5,8 +5,8 @@ import com.synebula.gaea.domain.service.Command
abstract class ResourceCmd(var id: String? = null) : Command() {
var name = ""
var signature = ""
val uri: String? = null
//资源定位符唯一标识。可以是uil也可以是别名
var uri = ""
var order = 0
var desc = ""
var desc: String? = null
}