usersBase.yaml 699 字节
version: v1
kind: Schema
metadata:
  name: usersBase
  description: 用户基础
  attributes:
    - ref: usersBaseId
      required: true
    - name: usersInfo
      description: 用户信息
      type:
        schema: usersInfo
    - name: phoneAuth
      description: 手机认证
      type:
        schema: phoneAuth
    - name: im
      description: IM信息
      type:
        schema: im
    - name: relatedUsers
      description: 关联的用户 (冗余)
      type:
        array: int64
    - name: status
      description: 账号状态 1:正常 2.禁用 3:注销
      type:
        primitive: int
    - ref: createdAt
      required: true
    - ref: updatedAt
      required: true