- store sku unit price.

This commit is contained in:
gazebo
2018-09-18 21:45:16 +08:00
parent cf62db7ff5
commit cdcac5ffb4
4 changed files with 90 additions and 30 deletions

View File

@@ -32,6 +32,7 @@ type StoreSkuBind struct {
SkuID int `orm:"column(sku_id)"`
SubStoreID int `orm:"column(sub_store_id)"`
Price int // 单位为分不用int64的原因是这里不需要累加
UnitPrice int // 这个是一斤的门店商品价放在这里的原因是避免额外增加一张store sku_name表逻辑上要保证同一SKU NAME中的所有SKU这个字段的数据一致
Status int
ElmID int64 `orm:"column(elm_id);index"`