userBase.yaml 684 字节
version: v1
kind: Schema
metadata:
  name: userBase
  description: 用户基础
  attributes:
    - ref: userBaseId
      required: true
    - name: userInfo
      description: 用户信息
      type:
        schema: userInfo
    - ref: account
      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