fix
wangpengfei
2023-08-18 9a7e0a7da01a9f9625ceaca0c61a59c540c6438f
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"`
}