loginAccess.yml 1.1 KB
version: v1
kind: Schema
metadata:
  name: loginAccess
  description: 登录凭证存储
  attributes:
    - name: account
      description: 账号
      type:
        primitive: string
    - name: platform
      description: 对应平台
      type:
        primitive: string
    - name: companyId
      description: 公司id
      type:
        primitive: int64
    - name: organizationId
      description: 组织id
      type:
        primitive: int64
    - name: accessToken
      description: 登录凭证存储
      type:
        primitive: string
    - name: refreshToken
      description: 刷新登录凭证
      type:
        primitive: string
    - name: accessExpired
      description: 登录凭证过期时间,时间戳精度秒
      type:
        primitive: int64
    - name: refreshExpired
      description: 刷新登录凭证过期时间,时间戳精度秒
      type:
        primitive: int64
    - name: createdTime
      description: 创建时间
      type:
        primitive: datetime
    - name: updatedTime
      description: 更新时间
      type:
        primitive: datetime