zhangqian
2023-08-09 7cc2f77503135e266264eb897e8f688e8ad216d5
model/request/serviceContract.go
@@ -10,22 +10,22 @@
}
type ServiceContract struct {
   ClientId       int             `json:"clientId"`
   Number         string          `json:"number"`
   MemberId       int             `json:"memberId"`
   ContactId      int             `json:"contactId"`
   SaleChanceId   int             `json:"saleChanceId"`
   SalesDetailsId int             `json:"salesDetailsId"`
   QuotationId    int             `json:"quotationId"`
   TypeId         int             `json:"typeId"`
   SignTime       string          `json:"signTime" binding:"datetime=2006-01-02"`
   StartTime      string          `json:"startTime" binding:"datetime=2006-01-02"`
   EndTime        string          `json:"endTime" binding:"datetime=2006-01-02"`
   StatusId       int             `json:"statusId"`
   ServiceTimes   int             `json:"serviceTimes"`
   Terms          string          `json:"terms"`
   Remark         string          `json:"remark"`
   Products       []model.Product `json:"products"`
   ClientId       int              `json:"clientId"`
   Number         string           `json:"number"`
   MemberId       int              `json:"memberId"`
   ContactId      int              `json:"contactId"`
   SaleChanceId   int              `json:"saleChanceId"`
   SalesDetailsId int              `json:"salesDetailsId"`
   QuotationId    int              `json:"quotationId"`
   TypeId         int              `json:"typeId"`
   SignTime       string           `json:"signTime" binding:"datetime=2006-01-02"`
   StartTime      string           `json:"startTime" binding:"datetime=2006-01-02"`
   EndTime        string           `json:"endTime" binding:"datetime=2006-01-02"`
   StatusId       int              `json:"statusId"`
   ServiceTimes   int              `json:"serviceTimes"`
   Terms          string           `json:"terms"`
   Remark         string           `json:"remark"`
   Products       []*model.Product `json:"products"`
}
type UpdateServiceContract struct {