作者 王健

更新【公司 dsl】

version: v1
kind: Schema
metadata:
name: companyAdmin
description: 公司管理员信息值对象
attributes:
- ref: userAccount
required: true
- ref: userName
required: true
\ No newline at end of file
... ...
... ... @@ -23,4 +23,4 @@ metadata:
- name: admin
description: 公司主管理员
type:
schema: userInfo
\ No newline at end of file
schema: companyAdmin
\ No newline at end of file
... ...
... ... @@ -13,13 +13,11 @@ metadata:
required: true
- ref: remarks
required: false
- name: adminId
description: 公司主管理员Id
type:
primitive: int64
result:
- ref: count
- ref: userAccount
required: true
- ref: userName
required: true
result:
- name: company
type:
schema: company
... ...
... ... @@ -8,8 +8,6 @@ metadata:
- ref: companyId
required: true
result:
- ref: count
required: true
- name: company
type:
schema: company
... ...
... ... @@ -7,7 +7,9 @@ metadata:
payload:
- ref: companyId
required: true
- ref: userId
- ref: userAccount
required: true
- ref: userName
required: true
result:
- name: company
... ...
... ... @@ -15,10 +15,9 @@ metadata:
required: false
- ref: remarks
required: false
- name: adminId
description: 公司主管理员Id
type:
primitive: int64
- ref: userAccount
required: false
- ref: userName
required: false
result:
- name: company
... ...