作者 tangxuhui

更新

正在显示 64 个修改的文件 包含 891 行增加0 行删除
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: address
  5 + description: 公司地址
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: businessLicense
  5 + description: 营业执照
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: companyId
  5 + description: 企业id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: companyName
  5 + description: 企业名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: contacts
  5 + description: 联系人
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: industryCategory
  5 + description: 所属行业
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: logo
  5 + description: 公司Logo地址
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: registStatus
  5 + description: 注册状态 1:已注册 2:待认证 3:已认证
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: scale
  5 + description: 规模
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: taxpayerCode
  5 + description: 纳税人识别号
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: accessCode
  5 + description: 权限编码 users:edit
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: code
  5 + description: 菜单编码 SYSTEM_USER_EDIT
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: icon
  5 + description: 菜单图标
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: isPublish
  5 + description: 菜单是否公开状态(上架、下架),[0:隐藏],[1:显示],默认显示
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: menuId
  5 + description: 菜单编号
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: menuName
  5 + description: 菜单名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: menuType
  5 + description: 菜单类型 (目录catalog、菜单menu、按钮button)
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: remark
  5 + description: 菜单说明
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: depName
  5 + description: 部门名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: isOrg
  5 + description: 是否是组织(是:1 不是:0)
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orgCode
  5 + description: 组织编码
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orgId
  5 + description: 组织ID
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orgName
  5 + description: 组织名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: accessMenus
  5 + description: 有权限的菜单
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: roleId
  5 + description: 角色ID
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: roleName
  5 + description: 角色名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: avator
  5 + description: 头像
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: email
  5 + description: 邮箱
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: enableStatus
  5 + description: 启用状态(启用:1 禁用:2)
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: favoriteMenus
  5 + description: 收藏的菜单(工作台)(菜单编码列表)
  6 + type:
  7 + array: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: password
  5 + description: 密码
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: phone
  5 + description: 手机号码
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: status
  5 + description: 用户状态
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: usersBaseId
  5 + description: 用户基础数据id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: usersCode
  5 + description: 用户编号
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: usersCompanyId
  5 + description: 用户公司编号
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: usersId
  5 + description: 用户编号
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: usersName
  5 + description: 用户姓名
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: usersOrg
  5 + description: 用户关联的组织
  6 + type:
  7 + array: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: usersRole
  5 + description: 用户关联的角色
  6 + type:
  7 + array: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: usersType
  5 + description: 用户类型 1:企业内部用户(内部添加) 2:共创用户 1024:企业注册用户(注册添加)
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: company
  5 + description: 公司
  6 + attributes:
  7 + - ref: createdAt
  8 + required: true
  9 + - ref: updatedAt
  10 + required: true
  11 + - ref: address
  12 + required: true
  13 + - ref: businessLicense
  14 + required: true
  15 + - ref: companyId
  16 + required: true
  17 + - ref: companyName
  18 + required: true
  19 + - ref: contacts
  20 + required: true
  21 + - ref: industryCategory
  22 + required: true
  23 + - ref: logo
  24 + required: true
  25 + - ref: registStatus
  26 + required: true
  27 + - ref: taxpayerCode
  28 + required: true
  29 + - ref: scale
  30 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: ext
  5 + description: 冗余附加数据
  6 + attributes:
  7 + - ref: usersName
  8 + required: true
  9 + - ref: orgName
  10 + required: true
  11 + - ref: phone
  12 + required: true
  13 + - ref: depName
  14 + required: true
  15 + - name: parentDepName
  16 + description: 父级部门名称
  17 + type:
  18 + primitive: string
  19 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: menu
  5 + description: 系统菜单
  6 + attributes:
  7 + - ref: menuId
  8 + required: true
  9 + - ref: parentId
  10 + required: true
  11 + - ref: menuName
  12 + required: true
  13 + - ref: code
  14 + required: true
  15 + - ref: accessCode
  16 + required: true
  17 + - ref: menuType
  18 + required: true
  19 + - ref: icon
  20 + required: true
  21 + - ref: sort
  22 + required: true
  23 + - ref: remark
  24 + required: true
  25 + - name: category
  26 + description: 菜单类别 (web:1、app:2)
  27 + type:
  28 + primitive: string
  29 + - name: parentPath
  30 + description: 父级节点路径("0,11,12,")
  31 + type:
  32 + primitive: string
  33 + - ref: enableStatus
  34 + description: 启用状态(启用:1 禁用:0)
  35 + required: true
  36 + - ref: isPublish
  37 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: org
  5 + description: 组织 organization
  6 + attributes:
  7 + - ref: orgId
  8 + required: true
  9 + - ref: companyId
  10 + required: true
  11 + - ref: createAt
  12 + required: true
  13 + - ref: updateAt
  14 + required: true
  15 + - ref: deleteAt
  16 + required: true
  17 + - ref: orgCode
  18 + required: true
  19 + - ref: orgName
  20 + required: true
  21 + - name: isOrg
  22 + required: true
  23 + - ref: parentId
  24 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: orgListItem
  5 + description: 组织列表项
  6 + attributes:
  7 + - ref: orgId
  8 + required: true
  9 + - ref: companyId
  10 + required: true
  11 + - ref: createAt
  12 + required: true
  13 + - ref: updateAt
  14 + required: true
  15 + - ref: orgCode
  16 + required: true
  17 + - ref: orgName
  18 + required: true
  19 + - name: isOrg
  20 + required: true
  21 + - ref: parentId
  22 + required: true
  23 + - name: parentName
  24 + description: 父级部门名称
  25 + type:
  26 + primitive: string
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: role
  5 + description: 角色 (base)
  6 + attributes:
  7 + - ref: roleId
  8 + required: true
  9 + - ref: companyId
  10 + required: true
  11 + - ref: orgId
  12 + required: true
  13 + - ref: roleName
  14 + required: true
  15 + - ref: accessMenus
  16 + required: true
  17 + - ref: desc
  18 + required: true
  19 + - ref: createAt
  20 + required: true
  21 + - ref: updateAt
  22 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: userListItem
  5 + description: 用户列表
  6 + attributes:
  7 + - ref: usersId
  8 + required: true
  9 + - ref: usersCode
  10 + required: true
  11 + - name: phone
  12 + description: 手机号
  13 + type:
  14 + primitive: string
  15 + - name: departmentName
  16 + description: 部门名称
  17 + type:
  18 + primitive: string
  19 + - name: orgName
  20 + description: 组织名称
  21 + type:
  22 + primitive: string
  23 + - name: enableStatus
  24 + description: 启用状态(启用:1 禁用:2)
  25 + type:
  26 + primitive: int
  27 + - name: enableStatusMsg
  28 + description: 启用状态名称
  29 + type:
  30 + primitive: string
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: users
  5 + description: 用户
  6 + attributes:
  7 + - ref: usersId
  8 + required: true
  9 + - ref: companyId
  10 + required: true
  11 + - ref: usersBaseId
  12 + required: true
  13 + - ref: usersType
  14 + required: true
  15 + - ref: usersCode
  16 + required: true
  17 + - name: organizationId
  18 + description: 组织机构
  19 + type:
  20 + primitive: int64
  21 + - name: departmentId
  22 + description: 所属部门
  23 + type:
  24 + primitive: int64
  25 + - name: usersOrg
  26 + description: 用户关联的组织
  27 + type:
  28 + array: org
  29 + - name: usersRole
  30 + description: 用户关联的角色
  31 + type:
  32 + array: role
  33 + - name: favoriteMenus
  34 + description: 收藏的菜单(工作台)(菜单编码列表)
  35 + type:
  36 + array: string
  37 + - name: cooperationInfo
  38 + description: 共创信息 (共创用户有效)
  39 + type:
  40 + schema: cooperationInfo
  41 + - name: enableStatus
  42 + description: 启用状态(启用:1 禁用:2)
  43 + type:
  44 + primitive: int
  45 + - ref: createAt
  46 + required: true
  47 + - ref: updateAt
  48 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: usersBase
  5 + description: 用户(base)
  6 + attributes:
  7 + - ref: usersBaseId
  8 + required: true
  9 + - name: usersInfo
  10 + description: 用户信息
  11 + type:
  12 + schema: usersInfo
  13 + - name: phoneAuth
  14 + description: 手机认证
  15 + type:
  16 + schemal: phoneAuth
  17 + - name: im
  18 + description: IM信息
  19 + type:
  20 + schemal: im
  21 + - name: relatedUsers
  22 + description: 关联的用户 (冗余)
  23 + type:
  24 + array: int64
  25 + - ref: createAt
  26 + required: true
  27 + - ref: updateAt
  28 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: usersInfo
  5 + description: 用户信息 (base)
  6 + attributes:
  7 + - ref: usersName
  8 + required: true
  9 + - ref: phone
  10 + required: true
  11 + - ref: avator
  12 + required: true
  13 + - ref: email
  14 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: createOrg
  5 + type: command
  6 + description: 创建组织管理
  7 + payload:
  8 + - ref: companyId
  9 + required: true
  10 + - ref: orgCode
  11 + required: true
  12 + - ref: orgName
  13 + required: true
  14 + - name: isOrg
  15 + required: true
  16 + - ref: parentId
  17 + required: true
  18 + result:
  19 + - name: org
  20 + type:
  21 + schema: org
  22 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: getOrg
  5 + type: query
  6 + description: 返回组织管理
  7 + payload:
  8 + - ref: orgId
  9 + required: true
  10 + result:
  11 + - name: org
  12 + type:
  13 + schema: org
  14 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: listOrg
  5 + type: query
  6 + description: 返回组织管理列表
  7 + payload:
  8 + - ref: offset
  9 + required: true
  10 + - ref: limit
  11 + required: true
  12 + - ref: orgCode
  13 + required: false
  14 + - ref: depName
  15 + required: false
  16 + - ref: parentId
  17 + required: false
  18 + result:
  19 + - ref: count
  20 + required: true
  21 + - name: orgs
  22 + type:
  23 + array: org
  24 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: removeOrg
  5 + type: command
  6 + description: 移除组织管理
  7 + payload:
  8 + - ref: orgId
  9 + required: true
  10 + result:
  11 + - name: org
  12 + type:
  13 + schema: org
  14 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: updateOrg
  5 + type: command
  6 + description: 更新组织管理
  7 + payload:
  8 + - ref: orgId
  9 + required: true
  10 + - ref: orgCode
  11 + required: true
  12 + - ref: orgName
  13 + required: true
  14 + - name: isOrg
  15 + required: true
  16 + - ref: parentId
  17 + required: true
  18 + result:
  19 + - name: org
  20 + type:
  21 + schema: org
  22 + required: true
  1 +version: v1
  2 +kind: Service
  3 +metadata:
  4 + name: org
  5 + description: 组织管理
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: batchResetPassword
  5 + type: command
  6 + description: 批量重置密码
  7 + payload:
  8 + - name: usersIds
  9 + type:
  10 + array: int64
  11 + required: true
  12 + - ref: password
  13 + required: true
  14 + result:
  15 + - name: usersId
  16 + type:
  17 + primitive: int64
  18 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: createUsers
  5 + type: command
  6 + description: 创建用户信息
  7 + payload:
  8 + - name: usersCode
  9 + description: 用户编号
  10 + type:
  11 + primitive: string
  12 + - name: usersName
  13 + description: 用户名称
  14 + type:
  15 + primitive: string
  16 + - name: organizationId
  17 + description: 组织机构id
  18 + type:
  19 + primitive: int64
  20 + - name: departmentId
  21 + description: 部门id
  22 + type:
  23 + primitive: int64
  24 + - name: enableStatus
  25 + description: 启用状态(启用:1 禁用:2)
  26 + type:
  27 + primitive: int
  28 + - name: phone
  29 + description: 手机号
  30 + type:
  31 + primitive: string
  32 + - name: email
  33 + description: 邮箱
  34 + type:
  35 + primitive: string
  36 + - name: usersOrg
  37 + description: 关联的组织机构
  38 + type:
  39 + array: org
  40 + - name: usersRole
  41 + description: 关联的组织结构
  42 + type:
  43 + array: role
  44 + - name: avator
  45 + description: 头像
  46 + type:
  47 + primitive: string
  48 + result:
  49 + - name: usersId
  50 + type:
  51 + primitive: int64
  52 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: enableUsers
  5 + type: command
  6 + description: 启用禁用用户信息
  7 + payload:
  8 + - ref: usersId
  9 + required: true
  10 + - name: enableStatus
  11 + description: 启用状态(启用:1 禁用:2)
  12 + type:
  13 + primitive: int
  14 + result:
  15 + - name: users
  16 + type:
  17 + schema: users
  18 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: getUsers
  5 + type: query
  6 + description: 返回用户信息
  7 + payload:
  8 + - ref: usersId
  9 + required: true
  10 + result:
  11 + - name: usersCode
  12 + description: 用户编号
  13 + type:
  14 + primitive: string
  15 + - name: usersName
  16 + description: 用户名称
  17 + type:
  18 + primitive: string
  19 + - name: orgId
  20 + description: 组织机构id
  21 + type:
  22 + primitive: int64
  23 + - name: orgName
  24 + description: 组织机构名称
  25 + type:
  26 + primitive: string
  27 + - name: departmentId
  28 + description: 部门id
  29 + type:
  30 + primitive: int64
  31 + - name: departmentName
  32 + description: 部门名称
  33 + type:
  34 + primitive: int64
  35 + - name: enableStatus
  36 + description: 启用状态(启用:1 禁用:2)
  37 + type:
  38 + primitive: int
  39 + - name: phone
  40 + description: 手机号
  41 + type:
  42 + primitive: string
  43 + - name: email
  44 + description: 邮箱
  45 + type:
  46 + primitive: string
  47 + - name: usersOrg
  48 + description: 关联的组织机构
  49 + type:
  50 + array: org
  51 + - name: usersRole
  52 + description: 关联的角色
  53 + type:
  54 + array: role
  55 + - name: avator
  56 + description: 头像
  57 + type:
  58 + primitive: string
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: listUsers
  5 + type: query
  6 + description: 返回用户信息列表
  7 + payload:
  8 + - ref: offset
  9 + required: true
  10 + - ref: limit
  11 + required: true
  12 + result:
  13 + - ref: count
  14 + required: true
  15 + - name: userList
  16 + type:
  17 + array: userListItem
  18 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: updateUsers
  5 + type: command
  6 + description: 更新用户信息
  7 + payload:
  8 + - name: usersId
  9 + type:
  10 + primitive: int64
  11 + required: true
  12 + - name: usersCode
  13 + description: 用户编号
  14 + type:
  15 + primitive: string
  16 + - name: usersName
  17 + description: 用户名称
  18 + type:
  19 + primitive: string
  20 + - name: organizationId
  21 + description: 组织机构id
  22 + type:
  23 + primitive: int64
  24 + - name: departmentId
  25 + description: 部门id
  26 + type:
  27 + primitive: int64
  28 + - name: enableStatus
  29 + description: 启用状态(启用:1 禁用:2)
  30 + type:
  31 + primitive: int
  32 + - name: phone
  33 + description: 手机号
  34 + type:
  35 + primitive: string
  36 + - name: email
  37 + description: 邮箱
  38 + type:
  39 + primitive: string
  40 + - name: usersOrg
  41 + description: 关联的组织机构
  42 + type:
  43 + array: int64
  44 + - name: usersRole
  45 + description: 关联的组织结构
  46 + type:
  47 + array: int64
  48 + - name: avator
  49 + description: 头像
  50 + type:
  51 + primitive: string
  52 + result:
  53 + - name: usersId
  54 + type:
  55 + primitive: int64
  56 + required: true
  1 +version: v1
  2 +kind: Service
  3 +metadata:
  4 + name: users
  5 + description: 用户信息