2024-05-29 16:05:04 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
type CreateUpdateReq struct {
|
2024-05-29 17:06:28 +00:00
|
|
|
Name string `json:"name"`
|
|
|
|
PrivilegeId string `json:"privilegeId"`
|
|
|
|
ServiceKey string `json:"serviceKey"`
|
|
|
|
Description string `json:"description"`
|
|
|
|
Type string `json:"type"`
|
|
|
|
Value string `json:"value"`
|
|
|
|
Price float64 `json:"price"`
|
2024-05-29 16:05:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ManyCreateUpdate struct {
|
|
|
|
Privileges []CreateUpdateReq `json:"privileges"`
|
|
|
|
}
|
2024-07-25 10:51:27 +00:00
|
|
|
|
|
|
|
type TariffPagination struct {
|
|
|
|
TotalPages int `json:"totalPages"`
|
|
|
|
Tariffs []Tariff `json:"tariffs"`
|
|
|
|
}
|