import { PageQueryParam } from '../base';

/**
 * 自定义分组查询声明
 */
export interface CustomizeGroupQueryParam extends PageQueryParam {
  groupName?: string;
  createUserId?: string;
  unitCode?: string;
}

/**
* 自定义分组声明
*/
export interface CustomizeGroupModel {
  uid:number,
  groupId:string,
  groupName:string,
  publicFlag:string,
  createUserId:string,
  createUserName:string,
  createTime:Date,
  startTimeFlag:string,
  startTime:Date,
  endTimeFlag:string,
  endTime:Date,
  stationCodes:string,
  userType:string,
  unitCode:string,
  codeType:string,
}

/**
 * 自定义分组根据版本查询对象
 */
export interface CustomeGroupQueryModel{
  softVer:string,
  softCompare:number,//比较(-1小于,0等于,1大于)下面的一样
  aiVersion:string,
  aiCompare:number,
  nbVersion:string,
  nbCompare:number,
  hardVersion:string,
  hardCompare:number,
  
  uid:number,           //自定义分组的主键
  stationCodes:string[] //勾选的StationCode
}