package models import "time" type Tariff struct { ID string `json:"_id"` Name string `json:"name"` Price float64 `json:"price"` IsCustom bool `json:"isCustom"` Privileges map[string]Privilege `json:"privileges"` Deleted bool `json:"isDeleted"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` DeletedAt *time.Time `json:"deletedAt,omitempty"` } type Privilege struct { ID string `json:"_id"` 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"` }