tariffs/internal/models/reqBodies.go

16 lines
399 B
Go
Raw Normal View History

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"`
}
type ManyCreateUpdate struct {
Privileges []CreateUpdateReq `json:"privileges"`
}