You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.2 KiB
37 lines
1.2 KiB
from django.db import models
|
|
import uuid
|
|
|
|
class FederalCategory(models.IntegerChoices):
|
|
MEN = 0, 'Men'
|
|
WOMEN = 1, 'Women'
|
|
MIXED = 2, 'Mixed'
|
|
|
|
class FederalLevelCategory(models.IntegerChoices):
|
|
P25 = 25, 'P25'
|
|
P100 = 100, 'P100'
|
|
P250 = 250, 'P250'
|
|
P500 = 500, 'P500'
|
|
P1000 = 1000, 'P1000'
|
|
P1500 = 1500, 'P1500'
|
|
P2000 = 2000, 'P2000'
|
|
|
|
class FederalAgeCategory(models.IntegerChoices):
|
|
A11_12 = 120, 'A11_12'
|
|
A13_14 = 140, 'A13_14'
|
|
A15_16 = 160, 'A15_16'
|
|
A17_18 = 180, 'A17_18'
|
|
SENIOR = 200, 'SENIOR'
|
|
A45 = 450, 'A45'
|
|
A55 = 550, 'A55'
|
|
|
|
class FederalMatchCategory(models.IntegerChoices):
|
|
TWO_SETS = 0, 'Two sets'
|
|
TWO_SETS_SUPER_TIE = 1, 'Two sets super tie'
|
|
TWO_SETS_FOUR_GAME = 2, 'Two sets of four games'
|
|
NINE_GAMES = 3, 'Nine games'
|
|
SUPER_TIE = 4, 'Super Tie-Break'
|
|
MEGA_TIE = 5, 'Mega Tie-Break'
|
|
TWO_SETS_DECISIVE_POINT = 6, 'Two Sets with decisive point'
|
|
TWO_SETS_DECISIVE_POINT_SUPER_TIE = 7, 'Two Sets with decisive point and super tie-break'
|
|
TWO_SETS_FOUR_GAME_DECISIVE_POINT = 8, 'Two sets of four games with decisive point'
|
|
NINE_GAMES_DECISIVE_POINT = 9, 'Nine games with decisive point'
|
|
|