- save order_sku.sku_type and promotion_type

This commit is contained in:
gazebo
2018-07-17 22:47:49 +08:00
parent 376d797f0a
commit 9ab535fa3b
2 changed files with 7 additions and 5 deletions

View File

@@ -61,8 +61,8 @@ type OrderSku struct {
SkuName string `orm:"size(255)"`
ShopPrice int64
SalePrice int64
Weight int // 单位为克
SkuType int
Weight int // 单位为克
SkuType int // 当前如果为gift就为1否则缺省为0
PromotionType int // todo 当前是用于记录京东的PromotionType(生成jxorder用),没有做转换
OrderCreatedAt time.Time `orm:"type(datetime);index"` // 分区考虑
}