add
wangpengfei
2023-07-07 551ab0030f602e99b3ab2dd8edbe4deec48b6afd
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"`
}