From a03f9b85eb008d9e1f566c49b704398fda8cbab6 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Mon, 30 Aug 2021 13:46:54 +0800 Subject: [PATCH] aa --- business/model/store.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/business/model/store.go b/business/model/store.go index 5885ebbd6..80b7010a1 100644 --- a/business/model/store.go +++ b/business/model/store.go @@ -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