package model

type ApiGoods struct {
	GoodsID        string        `json:"goods_id"`
	GoodsName      string        `json:"goods_name"`
	GoodsType      int           `json:"goods_type"`
	SupplierID     int           `json:"supplier_id"`
	Moq            int           `json:"moq"`
	Mpq            int           `json:"mpq"`
	Stock          int           `json:"stock"`
	HkDeliveryTime string        `json:"hk_delivery_time"`
	CnDeliveryTime string        `json:"cn_delivery_time"`
	LadderPrice    []LadderPrice `json:"ladder_price"`
	BrandName      string        `json:"brand_name"`
	SupplierName   string        `json:"supplier_name"`
	BrandID        int           `json:"brand_id"`
	IsBuy          int           `json:"is_buy"`
	Mpl            int           `json:"mpl"`
	Status         int           `json:"status"`
	Pdf            string        `json:"pdf"`
	Encap          string        `json:"encap"`
	AcType         int           `json:"ac_type"`
	//ErpTax    bool   `json:"erp_tax"`
}

type LadderPrice struct {
	Purchases int     `json:"purchases"`
	PriceUs   float64 `json:"price_us"`
	PriceCn   float64 `json:"price_cn"`
	PriceAc   float64 `json:"price_ac"`
}