/** 人员资质信息接口 */
export interface CertificationInfo {
  certificationId?: string
  certificationCode: string
  certificationImage: string
  certificationName: string
  certificationType: string
  userId: string
  validityDateBegin: string
  validityDateEnd: string
  createTime?: string
  updateTime?: string
}
export interface CertificationReq {
  certificationCode: string
  certificationImage: string
  certificationName: string
  certificationType: string
  userId: string
  validityDateBegin: string
  validityDateEnd: string
}
/** 人员资质列表查询参数 */
export interface CertificationListParams {
  certificationName?: string
  certificationType?: string
  userName?: string
}

/** 人员资质列表响应 */
export interface CertificationListResponse {
  data: CertificationInfo[]
  total: number
  current: number
  size: number
}

/** 用户信息简化版 */
export interface SimpleUserInfo {
  userId: string
  name: string
  account: string
} 
export interface CertificationInfo {
  certificationId?: string
  certificationCode: string
  certificationName: string
  userId: string
  userName?: string // 新增，后端会返回
}

// 分页响应
export interface CertificationPageResponse {
  rows: CertificationInfo[]
  total: number
  code?: number
  msg?: string
  [key: string]: any
}