diff --git a/business/model/store.go b/business/model/store.go index 80b7010a1..752fed625 100644 --- a/business/model/store.go +++ b/business/model/store.go @@ -804,12 +804,12 @@ func (*Brand) TableUnique() [][]string { type BrandBill struct { ModelIDCUL - BrandID int `orm:"brand_id" json:"brandID"` //品牌ID - Price int `json:"price"` //金额 - BillType int `json:"billType"` //收入/支出 - FeeType int `json:"feeType"` //费用类型 - VendorOrderID string `orm:"vendor_order_id" json:"vendorOrderID"` //产生费用的订单号 - OrderID string `orm:"order_id" json:"orderID"` //关联orderPay表的订单号 + BrandID int `orm:"column(brand_id)" json:"brandID"` //品牌ID + Price int `json:"price"` //金额 + BillType int `json:"billType"` //收入/支出 + FeeType int `json:"feeType"` //费用类型 + VendorOrderID string `orm:"column(vendor_order_id)" json:"vendorOrderID"` //产生费用的订单号 + OrderID string `orm:"column(order_id)" json:"orderID"` //关联orderPay表的订单号 } func (*BrandBill) TableUnique() [][]string {