import type { PageParam } from '@/api'

export interface AppCredential {
  id?: number
  appId?: number
  name?: string
  clientId?: string
  clientSecret?: string
  type?: string
  scopes?: string
  expireTime?: string
  lastUsedAt?: string
  remark?: string
  sortNumber?: number
  status?: number
  deleted?: number
  userId?: number
  tenantId?: number
  createTime?: string
  updateTime?: string
  // 关联字段
  productName?: string
  productCode?: string
  icon?: string
}

export interface AppCredentialParam extends PageParam {
  appId?: number
  name?: string
  clientId?: string
  type?: string
  status?: number
}
