ADD: added initial page with login
This commit is contained in:
15
backend/internal/tournament/model.go
Normal file
15
backend/internal/tournament/model.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package tournament
|
||||
|
||||
type Team struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type Tournament struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Location string `json:"location"`
|
||||
MaxParticipants int `json:"maxParticipants"`
|
||||
Teams []Team `json:"teams"`
|
||||
OrganizerId string `json:"organizerId"`
|
||||
}
|
||||
Reference in New Issue
Block a user