From e517b1a99b6edfa24c8cc4e109a6a10488f23b6a Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 28 八月 2023 11:51:55 +0800 Subject: [PATCH] merge --- model/purchase/request/purchase.go | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/model/purchase/request/purchase.go b/model/purchase/request/purchase.go new file mode 100644 index 0000000..d0dad8c --- /dev/null +++ b/model/purchase/request/purchase.go @@ -0,0 +1,18 @@ +package purchaserequest + +import ( + "srm/model/common/request" + "srm/model/purchase" + "time" +) + +type PurchaseSearch struct { + StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"` + EndCreatedAt *time.Time `json:"endCreatedAt" form:"endCreatedAt"` + request.PageInfo +} + +type AddPurchase struct { + Purchase purchase.Purchase + ProductList []*purchase.PurchaseProducts `json:"productList"` +} -- Gitblit v1.8.0