23 lines
506 B
Go
23 lines
506 B
Go
package domain
|
|
|
|
import "time"
|
|
|
|
type Setting struct {
|
|
Key string
|
|
Value string
|
|
UpdatedAt time.Time
|
|
}
|
|
|
|
type SettingRes struct {
|
|
Key string `json:"key"`
|
|
Value string `json:"value"`
|
|
UpdatedAt string `json:"updated_at"`
|
|
}
|
|
|
|
type SettingList struct {
|
|
MaxNumberOfOutcomes int64 `json:"max_number_of_outcomes"`
|
|
BetAmountLimit Currency `json:"bet_amount_limit"`
|
|
DailyTicketPerIP int64 `json:"daily_ticket_limit"`
|
|
TotalWinningLimit Currency `json:"total_winning_limit"`
|
|
}
|