add
wangpengfei
2023-07-13 32ae12002f89b089cb96849950759d2378d1729a
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
31
32
33
package request
 
import (
    "aps_crm/model"
)
 
type AddServiceContract struct {
    ServiceContract
}
 
type ServiceContract struct {
    ClientId     int             `json:"clientId"`
    Number       string          `json:"number"`
    MemberId     int             `json:"memberId"`
    ContactId    int             `json:"contactId"`
    SaleChanceId int             `json:"saleChanceId"`
    ContractId   int             `json:"contractId"`
    QuotationId  int             `json:"quotationId"`
    TypeId       int             `json:"typeId"`
    SignTime     string          `json:"signTime"`
    StartTime    string          `json:"startTime"`
    EndTime      string          `json:"endTime"`
    StatusId     int             `json:"statusId"`
    ServiceTimes int             `json:"serviceTimes"`
    Terms        string          `json:"terms"`
    Remark       string          `json:"remark"`
    Products     []model.Product `json:"products"`
}
 
type UpdateServiceContract struct {
    Id int `json:"id"`
    ServiceContract
}