usersBase.yaml 686 字节
version: v1
kind: Schema
metadata:
  name: usersBase
  description: 用户基础
  attributes:
    - ref: usersBaseId
      required: true
    - name: usersInfo
      description: 用户信息
      type:
        schema: usersInfo
    - ref: phone
      required: true
    - ref: password
      required: true
    - 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