/**
 * 后端 Result 响应结构
 */
export interface Result<T = unknown> {
  code: number
  message: string
  data: T
}

/**
 * 分页响应数据
 */
export interface PageResult<T = unknown> {
  records: T[]
  total: number
  size: number
  current: number
  pages: number
}

/**
 * 分页请求参数
 */
export interface PageParams {
  current: number
  size: number
  [key: string]: unknown
}
