add
wangpengfei
2023-07-20 aab89dff18f597d4cdd10c73b9ad8c3c14d82d28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package request
 
type AddRegularCustomers struct {
    Name string `json:"name" binding:"required"`
}
 
type UpdateRegularCustomers struct {
    Id   int    `json:"id" binding:"required"`
    Name string `json:"name" binding:"required"`
}
 
type UpdateRegularCustomersList struct {
    RegularCustomers []*UpdateRegularCustomers `json:"regularCustomers" binding:"required"`
}