zhangqian
2024-03-15 1cd1206c18ed14dd9ebf2baf477f46c847a271b0
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"`
}