liujiandao
2024-01-11 40e540f8ca398fee68f4520dbebd6db6fe2e164c
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"`
}