This commit is contained in:
suyl
2021-08-30 13:46:54 +08:00
parent 0ec2be9379
commit a03f9b85eb

View File

@@ -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 {
ModelIDCULD