zhangqian
2023-08-17 b654a22b6d2e579cf32e1d70f7a8a7791a501e81
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package request
 
type AddClientStatus struct {
    Name string `json:"name" binding:"required"`
}
 
type UpdateClientStatus struct {
    Id   int    `json:"id" binding:"required"`
    Name string `json:"name" binding:"required"`
}
 
type UpdateClientStatuses struct {
    ClientStatuses []UpdateClientStatus `json:"client_statuses"`
}