codeword/internal/models/promocode.go
2024-03-03 23:18:42 +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"`
/* - Количество активаций промокода*/
Activationcount int `json:"activationCount"`
/* - Бонус, предоставляемый с промокодом*/
Bonus Bonus `json:"bonus"`
/* - Кодовое слово для активации промокода*/
Codeword string `json:"codeword"`
/* - Дата и время создания промокода*/
Createdat string `json:"createdAt"`
/* - Флаг*/
Delete bool `json:"delete"`
/* - Описание промокода*/
Description string `json:"description"`
/* - Список быстрых ссылок для активации промокода*/
Fastlinks []string `json:"fastLinks"`
/* - Дата истечения действия промокода в формате Unix time*/
Dueto int `json:"dueTo"`
/* - Приветственное сообщение после активации промокода*/
Greetings string `json:"greetings"`
/* - Флаг*/
Offlimit bool `json:"offLimit"`
/* - Флаг*/
Outdated bool `json:"outdated"`
}