0.6.3 增加Role 和Group 的desc字段
This commit is contained in:
@@ -21,7 +21,7 @@ allprojects {
|
|||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
ext {
|
ext {
|
||||||
version '0.6.2'
|
version '0.6.3'
|
||||||
gaea_version = '0.10.3'
|
gaea_version = '0.10.3'
|
||||||
spring_version = "2.3.0.RELEASE"
|
spring_version = "2.3.0.RELEASE"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,4 +4,5 @@ import com.synebula.gaea.domain.model.AggregateRoot
|
|||||||
|
|
||||||
class Group(override var id: String? = null) : AggregateRoot<String>() {
|
class Group(override var id: String? = null) : AggregateRoot<String>() {
|
||||||
var name = ""
|
var name = ""
|
||||||
|
var desc = ""
|
||||||
}
|
}
|
||||||
@@ -2,6 +2,7 @@ package com.synebula.zeus.domain.model.rbac
|
|||||||
|
|
||||||
import com.synebula.gaea.domain.model.AggregateRoot
|
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 name = ""
|
||||||
|
var desc = ""
|
||||||
}
|
}
|
||||||
@@ -5,4 +5,5 @@ import com.synebula.gaea.domain.service.Command
|
|||||||
class GroupCmd : Command() {
|
class GroupCmd : Command() {
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
var name = ""
|
var name = ""
|
||||||
|
var desc = ""
|
||||||
}
|
}
|
||||||
@@ -5,4 +5,5 @@ import com.synebula.gaea.domain.service.Command
|
|||||||
class RoleCmd : Command() {
|
class RoleCmd : Command() {
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
var name = ""
|
var name = ""
|
||||||
|
var desc = ""
|
||||||
}
|
}
|
||||||
@@ -10,4 +10,6 @@ class GroupView {
|
|||||||
|
|
||||||
@Where(Operator.like)
|
@Where(Operator.like)
|
||||||
var name = ""
|
var name = ""
|
||||||
|
|
||||||
|
var desc = ""
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,4 +6,5 @@ import com.synebula.gaea.query.annotation.Table
|
|||||||
class RoleView {
|
class RoleView {
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
var name = ""
|
var name = ""
|
||||||
|
var desc = ""
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user