Closed Valentinusz closed 1 year ago
Team
id
name
shortname
image
időbélyegek
Player
number
birthdate
Game
start
finished
Event
type
minute
User
is_admin
Team
- egy csapatid
name
(string, egyedi)shortname
(string, egyedi, max. 4 karakter)image
(string, lehet null)időbélyegek
Player
- egy játékos adataiid
name
(string)number
(integer, a játékos mezszáma)birthdate
(date)időbélyegek
Game
- egy mérkőzésid
start
(datetime)finished
(logikai, alapértelmezetten hamis)időbélyegek
Event
- egy esemény egy mérkőzésen belülid
type
(enum - eseménytípusok: gól, öngól, sárga lap, piros lap)minute
(integer, hanyadik percben történt az esemény)időbélyegek
User
- ez már készen érkezik, csak egy mezővel kell kiegészíteniis_admin
(logikai, alapértelmezetten hamis)