This commit is contained in:
Tomas Dvorak
2025-11-11 10:29:30 +01:00
parent d5b4faea61
commit 8762bde4bf
139 changed files with 7240 additions and 2870 deletions
+2
View File
@@ -16,6 +16,8 @@ type Sweepstake struct {
PickerStyle string `json:"picker_style" gorm:"size:16;not null;default:'wheel'"` // wheel|cycler
TotalPrizes int `json:"total_prizes" gorm:"not null;default:1"`
PrizeSummary string `json:"prize_summary" gorm:"type:text"`
EntryCostPoints int `json:"entry_cost_points" gorm:"not null;default:0"`
EntryFeeCZK float64 `json:"entry_fee_czk" gorm:"not null;default:0"`
WinnersSelectedAt *time.Time `json:"winners_selected_at"`
VisibilityUntil *time.Time `json:"visibility_until"`
DrawSeed string `json:"draw_seed" gorm:"size:64"`