import type { PageParam } from '@/api'

export interface AppVersion {
  id?: number
  appId?: number
  versionNo?: string
  versionName?: string
  changelog?: string
  packageUrl?: string
  packageSize?: number
  packageHash?: string
  env?: string
  status?: number
  isCurrent?: boolean
  publishBy?: number
  publishTime?: string
  remark?: string
  sortNumber?: number
  userId?: number
  tenantId?: number
  createTime?: string
  updateTime?: string
  // 关联字段
  productName?: string
}

export interface AppVersionParam extends PageParam {
  appId?: number
  env?: string
  status?: number
  isCurrent?: boolean
}
