zhangqian
2023-10-13 4a23356a5840b624c81dda44b0028ed8fc3656cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
package request
 
type AddServiceContractType struct {
    Name string `  json:"name" binding:"required"`
}
 
type UpdateServiceContractType struct {
    Id   int    `json:"id" binding:"required"`
    Name string `json:"name" binding:"required"`
}
 
type UpdateServiceContractTypes struct {
    ServiceContractTypes []*UpdateServiceContractType `json:"service_contract_type" binding:"required"`
}