wangpengfei
2023-08-18 f264456b1e4fd284f53ecc4c70a3b951578bfd2d
model/request/serviceContractStatus.go
@@ -1,15 +1,22 @@
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"`
}