0.6.3 增加Role 和Group 的desc字段

This commit is contained in:
2021-04-16 14:32:10 +08:00
parent 61cc176868
commit 45d080b27c
7 changed files with 9 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ allprojects {
subprojects {
ext {
version '0.6.2'
version '0.6.3'
gaea_version = '0.10.3'
spring_version = "2.3.0.RELEASE"
}

View File

@@ -4,4 +4,5 @@ import com.synebula.gaea.domain.model.AggregateRoot
class Group(override var id: String? = null) : AggregateRoot<String>() {
var name = ""
var desc = ""
}

View File

@@ -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 = ""
}

View File

@@ -5,4 +5,5 @@ import com.synebula.gaea.domain.service.Command
class GroupCmd : Command() {
var id: String? = null
var name = ""
var desc = ""
}

View File

@@ -5,4 +5,5 @@ import com.synebula.gaea.domain.service.Command
class RoleCmd : Command() {
var id: String? = null
var name = ""
var desc = ""
}

View File

@@ -10,4 +10,6 @@ class GroupView {
@Where(Operator.like)
var name = ""
var desc = ""
}

View File

@@ -6,4 +6,5 @@ import com.synebula.gaea.query.annotation.Table
class RoleView {
var id: String? = null
var name = ""
var desc = ""
}