package domain

type League struct {
	ID          int64  `json:"id" example:"1"`
	Name        string `json:"name" example:"BPL"`
	CountryCode string `json:"cc" example:"uk"`
	Bet365ID    int32  `json:"bet365_id" example:"1121"`
	IsActive    bool   `json:"is_active" example:"false"`
	SportID     int32  `json:"sport_id" example:"1"`
}

type UpdateLeague struct {
	ID          int64       `json:"id" example:"1"`
	Name        ValidString `json:"name" example:"BPL"`
	CountryCode ValidString `json:"cc" example:"uk"`
	Bet365ID    ValidInt32  `json:"bet365_id" example:"1121"`
	IsActive    ValidBool   `json:"is_active" example:"false"`
	SportID     ValidInt32  `json:"sport_id" example:"1"`
}

type LeagueFilter struct {
	CountryCode ValidString
	SportID     ValidInt32
	IsActive    ValidBool
	Limit       ValidInt64
	Offset      ValidInt64
}
