import { GoodsBean, StockBean } from '@/api/goods/types';
import { CouponBean } from '@/api/user/types';

export interface GroupBuyBean {
  companyId: string;
  content: string;
  couponsList: CouponBean[];
  createTime: string;
  creatorId: string;
  creatorName: string;
  endDate: string;
  fake: number;
  goods: GoodsBean;
  id: string;
  name: string;
  offsetPrice: number;
  payPrice: number;
  goodsPrice: number;
  periodDay: number;
  price: number;
  publicNum: number;
  sendNum: number;
  startDate: string;
  status: number;
  threshold: number;
  title: string;
  totalNum: number;
}

export interface RecordBean {
  bizId: string;
  createTime: string;
  goodsCode: string;
  goodsNum: number;
  groupId: string;
  memberImage: string;
}

export interface OrderBean {
  allowIntegral: boolean;
  bizId: string;
  classify: number;
  companyId: string;
  consignTime: string;
  consumerId: string;
  consumerName: string;
  coupon: string;
  couponIds: string;
  couponsStatus: number;
  createTime: string;
  creatorId: number;
  creatorName: string;
  device: string;
  discount: number;
  discountPrice: number;
  finishTime: string;
  freePrice: number;
  goodsNum: number;
  id: string;
  integral: number;
  itemNum: number;
  marketingPrice: number;
  marketingText: string;
  modifierIds: string;
  needPaid: number;
  ogList: any[];
  orderGoods: GoodsBean[];
  changeStockNum: number;
  consumePrice: number;
  discountOriginPrice: number;
  goodsCode: string;
  goodsId: string;
  goodsName: string;
  goodsPriceModify: string;
  goodsTypeName: string;
  images: string;
  offset: string;
  orderId: string;
  orderNo: string;
  originPrice: number;
  originStockNum: number;
  priceModify: [];
  produceIntegral: number;
  salePrice: number;
  stockId: string;
  stockStock: StockBean[];
  payStatus: number;
  payTypeIds: string;
  printed: string;
  produceIntegralNumber: number;
  profit: string;
  reducePrice: number;
  relatedId: string;
  remark: string;
  replacementOrder: string;
  saleNum: number;
  salers: [];
  status: number;
  storeId: string;
  storeName: string;
  storeOrder: string;
  totalPrice: number;
  transactionPrice: number;
  type: number;
  typeName: string;
  updateTime: string;
  updated: boolean;
  useGold: number;
  wholePrice: number;
}
