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

/**
 * 设备
 */
export interface Equipment {
  equipmentType?: number;
  equipmentId?: number;
  equipmentName?: string;
  equipmentCode?: string;
  batteryModel?: string;
  equipmentCategory?: string;
  categoryId?: number;
  bms?: string;
  isCtive?: string;
  workingStatus?: string;
  leaseStatus?: string;
  batteryStatus?: string;
  batteryPower?: string;
  isOnline?: string;
  totalVoltage?: string;
  bmsBrand?: string;
  surplusCapacity?: string;
  iccid?: string;
  ctiveTime?: string;
  batteryDeliveryTime?: string;
  fullName?: string;
  logo?: string;
  describe?: string;
  logoImageId?: number;
  isRecycle?: number;
  sortNumber?: number;
  status?: number;
  comments?: string;
  createTime?: string;
  tenantId?: number;
  specType?: number;
  deliveryType?: number;
  content?: string;
  deliveryId?: number;
  image?: string;
  files?: string;
  equipmentPriceMin?: number;
  linePriceMin?: number;
  sellingPoint?: string;
  purchaseLimit?: number;
  deductStockType?: number;
  salesActual?: number;
  equipmentWeight?: number;
  stockTotal?: number;
  merchantCode?: string;
  orderId?: number;
  batteryRent?: number;
  batteryDeposit?: number;
  batteryInsurance?: number;
  batteryPrice?: number;
}

/**
 * 订单搜索条件
 */
export interface EquipmentParam extends PageParam {
  equipmentId?: number;
  orderId?: number;
  equipmentName?: string;
  equipmentCode?: string;
  listType?: string;
  status?: number;
  stockTotal?: number;
  merchantCode?: string;
  userId?: number;
}
