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

/**
 * 商品
 */
export interface Goods {
  goodsType?: number;
  goodsId?: number;
  goodsName?: string;
  goodsCode?: string;
  period?: string;
  gear?: number;
  categoryId?: number;
  categoryName?: 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;
  goodsPriceMin?: number;
  linePriceMin?: number;
  linePriceMax?: number;
  sellingPoint?: string;
  purchaseLimit?: number;
  deductStockType?: number;
  salesActual?: number;
  goodsWeight?: number;
  stockTotal?: number;
}

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