zhangqian
2023-08-28 e517b1a99b6edfa24c8cc4e109a6a10488f23b6a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"`
}