add
wangpengfei
2023-07-21 993d3555339703c53ca14103d4d7899cde0d2e04
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"`
}