作者 Your Name

更新实体信息

正在显示 41 个修改的文件 包含 139 行增加248 行删除
... ... @@ -4,4 +4,4 @@ metadata:
name: cooperationProjectPublisher
description: 共创项目发布人
type:
schema: users
schema: usersBase
... ...
... ... @@ -18,7 +18,3 @@ metadata:
description: 公司状态
type:
primitive: int
- ref: createdAt
required: false
- ref: updatedAt
required: false
... ...
... ... @@ -10,10 +10,6 @@ metadata:
required: true
- ref: usersName
required: true
- ref: departmentId
required: true
- ref: orgId
required: true
- ref: phone
required: true
- ref: status
... ... @@ -22,6 +18,14 @@ metadata:
required: true
- ref: usersType
required: true
- name: org
description: 用户的组织
type:
schema: orgs
- name: department
description: 用户的部门
type:
schema: department
- name: attachment
description: 附件
type:
... ... @@ -41,4 +45,4 @@ metadata:
- name: salesmanUser
description: 关联业务员信息
type:
schema: users
schema: usersBase
... ...
... ... @@ -26,8 +26,8 @@ metadata:
- name: undertaker
description: 承接人信息
type:
schema: contractUndertaker
- ref: orgId
required: true
- ref: orgName
required: true
schema: usersBase
- name: org
description: 组织
type:
schema: orgs
... ...
... ... @@ -26,9 +26,7 @@ metadata:
required: true
- ref: cooperationProjectNumber
required: true
- ref: companyId
required: true
- ref: orgName
required: true
- ref: orgId
required: true
- name: org
description: 用户的组织
type:
schema: orgs
... ...
... ... @@ -4,21 +4,19 @@ metadata:
name: cooperationContractChangeLog
description: 共创合约变更日志
attributes:
- ref: incentivesRule
required: true
- ref: incentivesRuleDetail
required: true
- ref: operationType
required: true
- ref: cooperationContractNumber
required: true
- ref: undertakers
required: true
- ref: operator
required: true
- ref: updatedAt
required: true
- ref: deletedAt
required: true
- ref: createdAt
required: true
- ref: incentivesRule
required: true
- ref: incentivesRuleDetail
required: true
- ref: operationType
required: true
- ref: cooperationContractNumber
required: true
- ref: undertakers
required: true
- ref: operator
required: true
- ref: updatedAt
required: true
- ref: createdAt
required: true
... ...
... ... @@ -24,4 +24,4 @@ metadata:
primitive: string
- name: referrer
type:
schema: users
schema: usersBase
... ...
... ... @@ -6,11 +6,6 @@ metadata:
attributes:
- ref: cooperationModeId
required: true
- ref: companyId
required: true
- ref: orgId
required: true
- ref: orgName
- ref: cooperationModeNumber
description: 模式编码,唯一确定
required: true
... ... @@ -20,10 +15,6 @@ metadata:
- ref: status
description: 共创模式状态,1启用,2禁用
required: true
- name: statusName
description: 状态描述
type:
primitive: string
- ref: remarks
required: true
- ref: operator
... ... @@ -32,7 +23,5 @@ metadata:
required: true
- ref: updatedAt
required: true
- ref: deletedAt
required: true
- ref: createdAt
required: true
... ...
... ... @@ -22,16 +22,12 @@ metadata:
required: true
- ref: companyId
required: true
- ref: orgName
required: true
- ref: orgId
required: true
- name: org
description: 组织
type:
schema: orgs
- ref: status
required: true
- ref: cooperationModeName
- ref: cooperationModeNumber
description: 模式编码,唯一确定
- ref: cooperationProjectDepartment
- name: cooperationMode
description: 共创模式
type:
... ...
... ... @@ -8,10 +8,6 @@ metadata:
required: true
- ref: status
required: true
- name: statusName
description: 状态描述
type:
primitive: string
- ref: usersCode
required: true
- ref: usersId
... ... @@ -21,7 +17,7 @@ metadata:
- name: org
description: 用户的组织
type:
schema: orgsBase
schema: orgs
- ref: cooperationCompany
required: true
- ref: cooperationDeadline
... ...
... ... @@ -29,10 +29,10 @@ metadata:
- ref: paymentDocumentAttachment
description: 支付凭证附件
required: true
- name: organization
- name: org
description: 数据关联组织机构
type:
schema: orgsBase
schema: orgs
- ref: companyId
required: true
- ref: operator
... ... @@ -41,7 +41,5 @@ metadata:
required: true
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
... ...
... ... @@ -28,7 +28,7 @@ metadata:
- name: organization
description: 数据关联组织机构
type:
schema: orgsBase
schema: orgs
- ref: companyId
required: true
- ref: operator
... ... @@ -37,7 +37,5 @@ metadata:
required: true
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
... ...
... ... @@ -4,23 +4,21 @@ metadata:
name: dividendsIncentivesRules
description: 金额激励规则实体
attributes:
- ref: dividendsIncentivesRuleId
required: true
- ref: referrerPercentage
required: true
- ref: salesmanPercentage
required: true
- ref: dividendsIncentivesPercentage
required: true
- ref: dividendsIncentivesStage
required: true
- ref: dividendsIncentivesStageEnd
required: true
- ref: dividendsIncentivesStageStart
required: true
- ref: updatedAt
required: true
- ref: deletedAt
required: true
- ref: createdAt
required: true
- ref: dividendsIncentivesRuleId
required: true
- ref: referrerPercentage
required: true
- ref: salesmanPercentage
required: true
- ref: dividendsIncentivesPercentage
required: true
- ref: dividendsIncentivesStage
required: true
- ref: dividendsIncentivesStageEnd
required: true
- ref: dividendsIncentivesStageStart
required: true
- ref: updatedAt
required: true
- ref: createdAt
required: true
... ...
... ... @@ -4,34 +4,32 @@ metadata:
name: dividendsOrder
description: 分红订单实体
attributes:
- ref: dividendsOrderId
required: true
- ref: dividendsOrderNumber
required: true
- ref: dividendsOriginalOrderNum
required: true
- ref: dividendsOrderAmount
required: true
- ref: orderSalesman
required: true
- ref: orderTime
required: true
- ref: dividendTime
required: true
- ref: dividendStatus
required: true
- ref: region
required: true
- ref: customerName
description: 客户姓名
required: true
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
- ref: operateTime
required: true
- ref: operator
required: true
- ref: dividendsOrderId
required: true
- ref: dividendsOrderNumber
required: true
- ref: dividendsOriginalOrderNum
required: true
- ref: dividendsOrderAmount
required: true
- ref: orderSalesman
required: true
- ref: orderTime
required: true
- ref: dividendTime
required: true
- ref: dividendStatus
required: true
- ref: region
required: true
- ref: customerName
description: 客户姓名
required: true
- ref: createdAt
required: true
- ref: updatedAt
required: true
- ref: operateTime
required: true
- ref: operator
required: true
... ...
... ... @@ -34,8 +34,6 @@ metadata:
required: true
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
- ref: operator
... ...
... ... @@ -14,8 +14,6 @@ metadata:
required: true
- ref: code
required: true
- ref: accessCode
required: true
- ref: menuType
required: true
- ref: icon
... ... @@ -28,8 +26,3 @@ metadata:
description: 菜单类别 (web:1、app:2)
type:
primitive: string
- ref: enableStatus
description: 启用状态(启用:1 禁用:0)
required: true
- ref: isPublish
required: true
... ...
version: v1
kind: Schema
metadata:
name: menuBase
description: 系统菜单基础信息
attributes:
- ref: menuId
required: true
- ref: parentId
required: true
- ref: menuName
required: true
- ref: menuType
required: true
- ref: sort
required: true
description: 菜单类别 (web:1、app:2)
type:
primitive: string
... ... @@ -4,8 +4,6 @@ metadata:
name: noticeSetting
description: 编排消息通知内容
attributes:
- ref: companyId
required: true
- ref: content
required: true
- ref: isPush
... ... @@ -16,13 +14,9 @@ metadata:
required: true
- ref: noticeSettingId
required: true
- ref: organizationId
required: true
- ref: sysCode
required: true
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
... ...
... ... @@ -24,7 +24,5 @@ metadata:
required: true
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
... ...
... ... @@ -8,12 +8,6 @@ metadata:
required: true
- ref: companyId
required: true
- ref: createdAt
required: true
- ref: updatedAt
required: true
- ref: deletedAt
required: true
- ref: orgCode
required: true
- ref: orgName
... ... @@ -22,5 +16,3 @@ metadata:
required: true
- ref: parentId
required: true
- ref: parentName
required: true
... ...
version: v1
kind: Schema
metadata:
name: orgsBase
description: 组织organization基础值对象
attributes:
- ref: orgId
required: true
- ref: orgCode
required: true
- ref: orgName
required: true
... ... @@ -6,13 +6,15 @@ metadata:
attributes:
- ref: roleId
required: true
- ref: companyId
required: true
- ref: orgId
required: true
- ref: orgName
required: true
- ref: roleName
required: true
- ref: desc
required: true
- name: org
description: 用户的组织
type:
schema: orgs
- name: department
description: 用户的部门
type:
schema: department
... ...
version: v1
kind: Schema
metadata:
name: users
description: 用户
name: usersBase
description: 用户基础信息
attributes:
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
- ref: avator
required: true
- ref: cooperationCompany
required: true
- ref: cooperationDeadline
required: true
- ref: email
required: true
- ref: enableStatus
required: true
- ref: favoriteMenus
required: true
- ref: phone
required: true
- ref: status
required: true
- name: statusName
description: 状态描述
type:
primitive: string
- ref: usersCode
required: true
- ref: usersId
required: true
- ref: companyId
required: true
- ref: orgId
required: true
- ref: usersName
required: true
- ref: usersOrg
- name: org
description: 用户的组织
type:
schema: orgs
- name: department
description: 用户的部门
type:
schema: department
- ref: email
required: true
- ref: usersRole
- ref: cooperationCompany
required: true
- ref: usersType
- ref: cooperationDeadline
required: true
... ...
... ... @@ -8,21 +8,15 @@ metadata:
required: true
- ref: status
required: true
- name: statusName
description: 状态描述
type:
primitive: string
- ref: usersCode
required: true
- ref: usersId
required: true
- ref: usersName
required: true
- name: org
description: 用户的组织
type:
schema: orgsBase
- name: department
description: 用户的部门
type:
schema: department
- ref: email
required: true
- ref: cooperationCompany
required: true
- ref: cooperationDeadline
required: true
... ...
... ... @@ -29,7 +29,7 @@ metadata:
- name: user
description: 用户信息
type:
schema: users
schema: usersBase
- name: orgs
description: 可选组织列表
type:
... ...
... ... @@ -17,4 +17,4 @@ metadata:
array: contractUndertaker
- name: relevant
type:
array: users
array: usersBase
... ...
... ... @@ -21,4 +21,4 @@ metadata:
- name: orgs
description: 可选组织列表
type:
array: orgsBase
array: orgs
... ...
... ... @@ -7,5 +7,5 @@ metadata:
result:
- name: menus
type:
array: menuBase
array: menu
required: true
... ...
... ... @@ -16,5 +16,5 @@ metadata:
result:
- name: menus
type:
schema: menuBase
schema: menu
required: true
... ...
... ... @@ -14,7 +14,7 @@ metadata:
required: true
- name: menus
type:
array: menuBase
array: menu
- name: users
type:
array: usersBase
... ...
... ... @@ -14,4 +14,4 @@ metadata:
required: true
- name: menus
type:
array: menuBase
array: menu
... ...
... ... @@ -11,4 +11,4 @@ metadata:
required: true
- name: orgs
type:
array: orgsBase
array: orgs
... ...
... ... @@ -13,10 +13,10 @@ metadata:
schema: usersBase
- name: userOrg
type:
array: orgsBase
array: orgs
- name: userRole
type:
array: roles
- name: userMenu
type:
array: menuBase
array: menu
... ...
... ... @@ -30,7 +30,7 @@ metadata:
- ref: avator
required: true
result:
- name: usersId
- name: user
type:
primitive: int64
schemas: userBase
required: true
... ...
... ... @@ -15,5 +15,5 @@ metadata:
result:
- name: users
type:
schema: users
schema: usersBase
required: true
... ...
... ... @@ -14,5 +14,5 @@ metadata:
required: true
- name: userList
type:
array: usersBase
array: users
required: true
... ...
... ... @@ -50,7 +50,7 @@ metadata:
type:
primitive: string
result:
- name: usersId
- name: user
type:
primitive: int64
schema: users
required: true
... ...
... ... @@ -15,5 +15,5 @@ metadata:
result:
- name: users
type:
schema: users
schema: usersBase
required: true
... ...
... ... @@ -11,4 +11,4 @@ metadata:
- name: user
description: 共创用户信息
type:
schema: cooperationUser
schema: usersBase
... ...
... ... @@ -14,5 +14,5 @@ metadata:
required: true
- name: userList
type:
array: cooperationUser
array: usersBase
required: true
... ...
... ... @@ -20,7 +20,7 @@ metadata:
- ref: email
required: true
result:
- name: usersId
- name: user
type:
primitive: int64
schema: userBase
required: true
... ...