zhangqian
2023-08-02 6e9274c27ffc8fe7f41e2c3c06a239d4c3fb09e5
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"`
}