refactor(models): Move options model to models

This commit is contained in:
niggl committed 2024-12-03 18:03:25 +01:00
1 parent 62f04f7d1c
commit bd70ac4542
3 files changed
+12 -13

No files matched your search

+11
View File
@@ -18,3 +18,14 @@ type Group struct {
Name string `json:"name"`
ParentGroup *Group `json:"parent_group"`
}
type ContractTemplateOptions struct {
Runners []Runner `json:"runners"`
CurrencySymbol string `json:"currency_symbol"`
Disclaimer string `json:"disclaimer"`
ReceiptMinimumAmount int `json:"receipt_minimum_amount"`
EventName string `json:"event_name"`
SponsoringHeader string `json:"base_url"`
BarcodeFormat string `json:"barcode_format"`
BarcodePrefix string `json:"barcode_prefix"`
}