aa
This commit is contained in:
@@ -801,6 +801,23 @@ 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表的订单号
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*BrandBill) TableUnique() [][]string {
|
||||||
|
return [][]string{
|
||||||
|
[]string{"BrandID", "CreatedAt"},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
type BrandStore struct {
|
type BrandStore struct {
|
||||||
ModelIDCULD
|
ModelIDCULD
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user