codeword/internal/models/discount.go
2024-11-15 14:21:04 +03:00

13 lines
298 B
Go

package models
type Discount struct {
/* - Цель скидки*/
Target string `json:"target"`
/* - Порог скидки*/
Threshold int `json:"threshold"`
/* - Множитель скидки*/
Factor int `json:"factor"`
/* - Уровень скидки*/
Layer int `json:"layer"`
}