export type XxxStatus = 'active' | 'disabled';

export interface XxxRecord {
  key: string;
  name: string;
  status: XxxStatus;
  createdAt: string;
}

/** ProTable 搜索参数。 */
export interface XxxQuery {
  name?: string;
  status?: XxxStatus;
}

export interface XxxListParams extends XxxQuery {
  current?: number;
  pageSize?: number;
}

export interface XxxListResult {
  data: XxxRecord[];
  total: number;
  success: boolean;
}
