作者 yangfu

模型调整

@@ -2,6 +2,6 @@ version: v1 @@ -2,6 +2,6 @@ version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 name: isPublish 4 name: isPublish
5 - description: 菜单是否公开状态(上架、下架),[0:隐藏],[1:显示],默认显示 5 + description: 菜单是否公开状态(上架、下架),[2:隐藏],[1:显示],默认显示
6 type: 6 type:
7 primitive: int 7 primitive: int
@@ -22,6 +22,10 @@ metadata: @@ -22,6 +22,10 @@ metadata:
22 description: 所属部门 22 description: 所属部门
23 type: 23 type:
24 primitive: int64 24 primitive: int64
  25 + - name: usersInfo
  26 + description: 用户信息 (冗余,数据存在usersBase里面)
  27 + type:
  28 + array: usersInfo
25 - name: usersOrg 29 - name: usersOrg
26 description: 用户关联的组织 30 description: 用户关联的组织
27 type: 31 type:
@@ -6,6 +6,8 @@ metadata: @@ -6,6 +6,8 @@ metadata:
6 attributes: 6 attributes:
7 - ref: usersId 7 - ref: usersId
8 required: true 8 required: true
  9 + - ref: usersBaseId
  10 + required: true
9 - ref: usersName 11 - ref: usersName
10 required: true 12 required: true
11 - ref: usersCode 13 - ref: usersCode
@@ -36,7 +36,11 @@ metadata: @@ -36,7 +36,11 @@ metadata:
36 type: 36 type:
37 primitive: int 37 primitive: int
38 - ref: password 38 - ref: password
39 - required: true 39 + required: true
  40 + - name: usersInfo
  41 + description: 用户信息
  42 + type:
  43 + array: usersInfo
40 result: 44 result:
41 - name: users 45 - name: users
42 type: 46 type: