export type LocationId = string | number;
export type LocationIds = LocationId[];

export interface LocationVO {
  locationId: LocationId;
  workshopId?: number;
  workshopLevel?: number;
  warehouseId?: number;
  warehouseName?: string;
  machineId?: number;
  locationCode?: string;
  agvPositionCode?: string;
  containerCode?: string;
  locCount?: number;
  activeFlag?: number;
  locationStatus?: number;
  createBy?: string;
  createdTime?: string;
  updatedBy?: string;
  updatedTime?: string;
  remark?: string;
  equipKey?: string;
}

export interface LocationForm {
  locationId?: LocationId;
  workshopId?: number;
  workshopLevel?: number;
  warehouseId?: number;
  machineId?: number;
  locationCode?: string;
  agvPositionCode?: string;
  containerCode?: string;
  locCount?: number;
  activeFlag?: number;
  locationStatus?: number;
  remark?: string;
  equipKey?: string;
}

export interface LocationQuery extends PageQuery {
  workshopId?: number;
  workshopLevel?: number;
  warehouseId?: number;
  machineId?: number;
  locationCode?: string;
  containerCode?: string;
  activeFlag?: number;
  locationStatus?: number;
  equipKey?: string;
  params?: any;
}
