13 lines
298 B
Go
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"`
|
|
}
|