export interface CategoryBean {
  typeId: string;
  typeName: string;
}

export interface GoodsBean {
  id: string;
  goodsId: string;
  goodsName: string;
  allow_integral: number;
  available: number;
  back_factory: number;
  brand_id: string;
  brand_name: string;
  code: string;
  company_id: string;
  cost_price: number;
  create_time: string;
  creator_id: string;
  discount: number;
  images: string;
  market_time: string;
  material_id: string;
  material_name: string;
  name: string;
  price: number;
  send_num: number;
  price_ext: number;
  payPrice: number;
  profile: string;
  remark: string;
  remark1: string;
  remark2: string;
  remark3: string;
  remark4: string;
  season_id: string;
  season_name: string;
  status: number;
  stocks: StockBean[],
  store_id: string;
  suplier_id: string;
  suplier_name: string;
  type_id: string;
  type_name: string;
  update_time: string;
  years_id: string;
  years_name: string;

  /*extra params*/
  goodsNum: number;
  salePrice: number;
  originPrice: number;
  consumePrice: number;
  stockStock: StockBean
  checkedStock: StockBean;
  checked: boolean | false;
}

export interface StockBean {
  colorId: string;
  colorName: string;
  existingNumber: number;
  sizeId: string;
  sizeName: string;
  stockId: string;
  count: number;
}
