Commit Graph

12 Commits

Author SHA1 Message Date
Daniel Schädler 4fb8b75769 Add evaluate winner method 2019-05-11 08:54:23 +02:00
Daniel Schädler 8157399a1a Change status of Match to only represent being finished
The winner will be a attribute of the Match instead of something
that is written in its status.
2019-05-11 08:54:23 +02:00
Daniel Schädler 89486d7349 Remove unused evaluate status method 2019-05-11 08:54:23 +02:00
Thor77 1b9db61c22
Add owner method to Stage, Group and Match 2019-05-07 18:41:52 +02:00
Daniel Schädler 26b8ff96c9 Add teams method to group,match,stage
It returns the unique teams that compete within the object
2019-05-04 20:34:57 +02:00
Daniel Schädler 68f9b3b2b3 Change Score to MatchScore & MatchScore score attribute to points
This is done to improve the naming and therefore make things easier to understand.
2018-11-30 14:15:48 +01:00
Daniel Schädler 1c318cde1a Add State to Model 2018-11-29 10:47:17 +01:00
Thor77 673e12c052 Validate Stage xor Group present in match 2018-11-20 16:03:58 +01:00
Thor77 552566dd2e Validate match has only 2 scores 2018-11-19 14:57:55 +01:00
Thor77 65abada8b2
Modify model associations to map to new schema 2018-11-19 11:47:14 +01:00
Thor77 5774b2463a Format imported code 2018-11-11 19:39:13 +01:00
Daniel Schädler d5d61ec0a2 Add some Models 2018-11-11 18:52:15 +01:00