import type { FormRules } from 'element-plus'
import type sku from './Sku'
/**
 * spu 实体类
 * 只是一个类型说明
 */
export default interface spuType {
  brandAuthorization: string
  priceIncreaseLaterSellPrice: any
  priceIncreaseLeftHours: any
  priceDecreasePercent: number
  priceDecreaseAmount: any
  priceIncreaseLaterOn: string
  priceDecreaseOn: string
  spuType: any
  totalStockCount: number
  totalIncomingCount: number
  freeShipping: string
  imageUrl: string
  values: object,
  id: number,
  vendorId: number,
  name: string,
  title: string,
  categoryId: number,
  categoryCode: string,
  categoryName: string,
  attrCode01: string,
  attrCode02: string,
  attrCode03: string,
  attrJson: string,
  children: Array<sku>,
  mainImageUrl: string,
  weightKg: number,
  lengthCm: number,
  widthCm: number,
  heightCm: number,
  minSellPrice: number,
  maxSellPrice: number
  spuCode:string
}


export interface presaleSpuType {
  leftDays: number
  maskedSkuPrice: string
  presaleNo: string
  presaleTime: string
  skuCode: string
  skuImageUrl: string
  skuName: string
  spuCode: string
  spuName: string
  stockIncoming: number
  subscribeStatus: string
  subscribeLoading:boolean
}