wangpengfei
2023-08-11 378353b4c37e52da3c99f10ff3a1c9078a71b3bd
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
30
package request
 
import "aps_crm/model"
 
type AddQuotation struct {
    Quotation
}
 
type Quotation struct {
    ClientId          int              `json:"client_id"`
    Number            string           `json:"number"`
    QuotationStatusId int              `json:"quotation_status_id"`
    ValidityDate      string           `json:"validity_date"`
    ContactId         int              `json:"contact_id"`
    MemberId          int              `json:"member_id"`
    SaleChanceId      int              `json:"sale_chance_id"`
    Conditions        string           `json:"conditions"`
    File              string           `json:"file"`
    Products          []*model.Product `json:"products"`
}
 
type UpdateQuotation struct {
    Id int `json:"id"`
    Quotation
}
 
type GetQuotationList struct {
    PageInfo
    Keyword string `json:"keyword"`
}