import type { PageParam } from '@/api';

export interface Grade {
  gradeId?: undefined;
  gradeName?: string;
  gradeNo?: string;
  gradeCategory?: object;
  gradeModel?: string;
  gradeModelMultiple?: string[];
  gradeSpecs?: string;
  gradePrice?: number;
  gradeUnit?: string;
  gradeStock?: string;
  companyNo?: string;
  companyName?: string;
  manufactor?: string;
  manufactorNo?: string;
  gradeWeight?: string;
  lifeYear?: number;
  factoryDate?: string;
  scrapDate?: string;
  status?: number;
  comments?: string;
  sortNumber?: number;
  userId?: number;
  deleted?: number;
  tenantId?: number;
  createTime?: string;
  updateTime?: string;
}

/**
 * 搜索条件
 */
export interface GradeParam extends PageParam {
  gradeId?: number;
  gradeName?: string;
  status?: number;
  keywords?: string;
}
