From cddf1d93735052590755460f4b3c8264e0d57399 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期一, 07 八月 2023 09:39:20 +0800 Subject: [PATCH] fix --- model/request/serviceContract.go | 84 +++++++++++++++++++++--------------------- 1 files changed, 42 insertions(+), 42 deletions(-) diff --git a/model/request/serviceContract.go b/model/request/serviceContract.go index b927a21..eec41e6 100644 --- a/model/request/serviceContract.go +++ b/model/request/serviceContract.go @@ -1,42 +1,42 @@ -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 -} - -type GetServiceContractList struct { - PageInfo - Keyword string `json:"keyword"` -} - -type DeleteserviceContract struct { - Ids []int `json:"ids"` -} +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 +} + +type GetServiceContractList struct { + PageInfo + Keyword string `json:"keyword"` +} + +type DeleteserviceContract struct { + Ids []int `json:"ids"` +} -- Gitblit v1.8.0