import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';

/**
 * @description: MesQpProcessPatrolerror分页参数 模型
 */
export interface MesQpProcessPatrolerrorPageParams extends BasicPageParams {
  errorNo: string;

  isSysNum: string;

  errorState: string;

  errorLevel: string;

  disJudge: string;

  judgeResult: string;

  reportNo: string;

  reportName: string;
}

/**
 * @description: MesQpProcessPatrolerror分页返回值模型
 */
export interface MesQpProcessPatrolerrorPageModel {
  id: string;

  errorNo: string;

  remark: string;

  errorLevel: string;

  disJudge: string;

  judgeResult: string;

  reportNo: string;

  reportName: string;

  createUserId: string;

  createDate: string;

  errorState: string;
}

/**
 * @description: MesQpProcessPatrolerror表类型
 */
export interface MesQpProcessPatrolerrorModel {
  id: number;

  isSysNum: string;

  reportId: string;

  reportNo: string;

  reportName: string;

  errorNo: string;

  errorLevel: string;

  disJudge: string;

  judgeResult: string;

  remark: string;

  errorState: string;

  sort: number;

  createUserId: number;

  createDate: string;

  modifyUserId: number;

  modifyDate: string;

  deleteMark: number;

  enabledMark: number;

  mesQpProcessPatrolerrordataList?: MesQpProcessPatrolerrordataModel;
}

/**
 * @description: MesQpProcessPatrolerrordata表类型
 */
export interface MesQpProcessPatrolerrordataModel {
  id: number;

  errorId: number;

  reportId: number;

  firstId: string;

  firstNo: string;

  saleId: string;

  saleNo: string;

  saleName: string;

  productId: string;

  productCode: string;

  productName: string;

  materialId: string;

  materialNo: string;

  materialName: string;

  checkTime: string;

  checkNum: string;

  checkUnit: string;

  checkType: string;

  checkProduct: string;

  referenceValue: string;

  upTolerance: string;

  downTolerance: string;

  measuredValue: string;

  errorNum: string;

  errorMethod: string;

  imgFile: string;

  remark: string;

  state: number;

  sort: number;

  createUserId: number;

  createDate: string;

  modifyUserId: number;

  modifyDate: string;

  deleteMark: number;

  enabledMark: number;
}

/**
 * @description: MesQpProcessPatrolerror分页返回值结构
 */
export type MesQpProcessPatrolerrorPageResult = BasicFetchResult<MesQpProcessPatrolerrorPageModel>;
