You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
966 B
23 lines
966 B
package goods
|
|
|
|
func (SKUPrice) TableName() string {
|
|
return "sku_price"
|
|
}
|
|
|
|
// SKUPrice 结构体表示SKU价格信息
|
|
type SKUPrice struct {
|
|
ID int `json:"id"` // SKU价格ID
|
|
GoodsID int `json:"goods_id"` // 商品ID
|
|
Weigh int `json:"weigh"` // 重量
|
|
Image string `json:"image"` // 图片
|
|
Stock int `json:"stock"` // 库存
|
|
StockWarning string `json:"stock_warning"` // 库存警告
|
|
Sales int `json:"sales"` // 销售数量
|
|
SN string `json:"sn"` // 序列号
|
|
Weight int `json:"weight"` // 重量
|
|
Price string `json:"price"` // 价格
|
|
GoodsSKUText string `json:"goods_sku_text"` // 商品SKU文本
|
|
Status string `json:"status"` // 状态
|
|
GoodsSKUIDArr []string `json:"goods_sku_id_arr"` // 商品SKU ID数组
|
|
}
|