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

/**
 * 电池商品
 */
export interface EquipmentGoods {
  equipmentCategory?: string;
  goodsId?: number;
  goodsName?: string;
  goodsCode?: string;
  categoryId?: number;
  fullName?: string;
  logo?: string;
  qrcode?: string;
  describe?: string;
  logoImageId?: number;
  isRecycle?: number;
  sortNumber?: number;
  status?: number;
  comments?: string;
  createTime?: string;
  tenantId?: number;
  specType?: number;
  deliveryType?: number;
  batteryModel?: string;
  content?: string;
  deliveryId?: number;
  image?: string;
  files?: string;
  goodsPriceMin?: number;
  linePriceMin?: number;
  sellingPoint?: string;
  purchaseLimit?: number;
  deductStockType?: number;
  salesActual?: number;
  goodsWeight?: number;
  stockTotal?: number;
  merchantCode?: string;
  batteryRent?: number;
  batteryDeposit?: number;
  batteryInsurance?: number;
  batteryPrice?: number;
  userId?: number;
  // 首付款
  downPayment?: number;
  // 分期期数
  periods?: number;
  // 每期还款
  repayment?: number;
  // 手续费
  serviceCharges?: number;
  // 分期方式
  periodsType?: number;
}

/**
 * 订单搜索条件
 */
export interface EquipmentGoodsParam extends PageParam {
  goodsId?: number;
  goodsName?: string;
  goodsCode?: string;
  listType?: string;
  status?: number;
  stockTotal?: number;
  merchantCode?: string;
}
