wangpengfei
2023-07-26 2267c97ab1cbbe94edcc221e960084fc63d52afe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package request
 
import "aps_crm/model"
 
type AddSalesRefundRequest struct {
    SalesRefund SalesRefund `json:"salesRefund"`
}
 
type SalesRefund struct {
    ClientId     int             `json:"clientId"`
    Number       string          `json:"number"`
    MemberId     int             `json:"memberId"`
    RefundDate   string          `json:"refundDate"`
    RefundMethod string          `json:"refundMethod"`
    AccountId    int             `json:"accountId"`
    IsInvoice    int             `json:"isInvoice"`
    Reason       string          `json:"reason"`
    Products     []model.Product `json:"products"`
}
 
type UpdateSalesRefundRequest struct {
    Id          int         `json:"id"`
    SalesRefund SalesRefund `json:"salesRefund"`
}
 
type GetSalesRefundList struct {
    PageInfo
    Keyword string `json:"keyword"`
}