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

/**
 * @description: MesCollectionItem分页参数 模型
 */
export interface MesCollectionItemPageParams extends BasicPageParams {
  code: string;

  contentType: string;

  name: string;

  qualityCategoryId: string;

  dataType: string;
}

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

  code: string;

  name: string;

  contentType: string;

  dataType: string;

  qualityCategoryId: string;
}

/**
 * @description: MesCollectionItem表类型
 */
export interface MesCollectionItemModel {
  id: string;

  code: string;

  name: string;

  required: string;

  categoryId: string;

  contentType: string;

  dataType: string;

  dictId: string;

  relatedModelId: string;

  relatedModelName: string;

  relatedModelDomain: string;

  standardValue: string;

  upperValue: string;

  lowerValue: string;

  note: string;

  companyId: string;

  qualityCategoryId: string;

  analysisMethod: string;

  qualityMethodId: string;

  destructive: string;

  keyItem: string;

  deleteMark: string;

  createDate: string;

  createUserId: string;

  modifyDate: string;

  modifyUserId: string;

  sc: string;

  dt: string;

  bb: string;

  mesCollectionScItOptionList?: MesCollectionScItOptionModel;
}

/**
 * @description: MesCollectionScItOption表类型
 */
export interface MesCollectionScItOptionModel {
  id: string;

  code: string;

  name: string;

  stemId: string;

  note: string;

  deleteMark: string;

  createDate: string;

  createUserId: string;

  modifyDate: string;

  modifyUserId: string;
}

/**
 * @description: MesCollectionItem分页返回值结构
 */
export type MesCollectionItemPageResult = BasicFetchResult<MesCollectionItemPageModel>;
