zhangqian
2023-08-26 5193dcb9336e853502baf8a539d3f45efebe2f86
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"`
}