zhangqian
2023-08-28 4af9a94256e5109a6b09a6e3e61f72c43e80db50
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"`
}