| | |
| | | |
| | | package request |
| | | |
| | | import ( |
| | | "aps_crm/constvar" |
| | | "aps_crm/model" |
| | | ) |
| | | |
| | | type AddServiceContractStatus struct { |
| | | Name string ` json:"name" binding:"required"` |
| | | model.ServiceContractStatus |
| | | } |
| | | |
| | | type UpdateServiceContractStatus struct { |
| | | Id int `json:"id" binding:"required"` |
| | | Name string `json:"name" binding:"required"` |
| | | Id int `json:"id"` |
| | | model.ServiceContractStatus |
| | | } |
| | | |
| | | type UpdateServiceContractStatuss struct { |
| | | ServiceContractStatuss []*UpdateServiceContractStatus `json:"service_contract_status" binding:"required"` |
| | | type GetServiceContractStatusList struct { |
| | | PageInfo |
| | | QueryClass constvar.ServiceContractStatusQueryClass `json:"queryClass" form:"queryClass"` |
| | | KeywordType constvar.ServiceContractStatusKeywordType `json:"keywordType" form:"keywordType"` |
| | | Keyword string `json:"keyword" form:"keyword"` |
| | | } |