companyUser.yaml 1.1 KB
version: v1
kind: Schema
metadata:
  name: companyUser
  description: web页面上公司用户数据展示
  attributes:
    - name: usersId
      description: 用户的id
      type:
        primitive: int64
    - name: usersCode
      description: 用户编号
      type:
        primitive: string
    - name: usersName
      description: 用户名称
      type:
        primitive: string
    - name: organizationId
      description: 组织机构id
      type:
        primitive: int64
    - name: departmentId
      description: 部门id
      type:
        primitive: int64
    - name: enableStatus
      description: 启用状态(启用:1 禁用:2)
      type:
        primitive: int
    - name: phone
      description: 手机号
      type:
        primitive: string
    - name: email
      description: 邮箱
      type:
        primitive: string
    - name: usersOrg
      description: 关联的组织机构
      type:
        array: orgs
    - name: usersRole
      description: 关联的组织结构
      type:
        array: roles
    - name: avator
      description: 头像
      type:
        primitive: string