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

29 lines
1.2 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package models
type PromoCode struct {
/* - Идентификатор промокода*/
ID string `json:"id"`
/* - Бонус, предоставляемый с промокодом*/
Bonus Bonus `json:"bonus"`
/* - Флаг*/
Delete bool `json:"delete"`
/* - Описание промокода*/
Description string `json:"description"`
/* - Список быстрых ссылок для активации промокода*/
Fastlinks []string `json:"fastLinks"`
/* - Приветственное сообщение после активации промокода*/
Greetings string `json:"greetings"`
/* - Количество активаций промокода*/
Activationcount int `json:"activationCount"`
/* - Флаг*/
Outdated bool `json:"outdated"`
/* - Кодовое слово для активации промокода*/
Codeword string `json:"codeword"`
/* - Дата и время создания промокода*/
Createdat string `json:"createdAt"`
/* - Дата истечения действия промокода в формате Unix time*/
Dueto int `json:"dueTo"`
/* - Флаг*/
Offlimit bool `json:"offLimit"`
}