Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User basic model #1

Open
gbrian opened this issue Mar 22, 2021 · 0 comments
Open

User basic model #1

gbrian opened this issue Mar 22, 2021 · 0 comments

Comments

@gbrian
Copy link
Contributor

gbrian commented Mar 22, 2021

User basic model (all entities must incluce audit fields)

Audit:

  • created
  • changed

Player:

  • email, name, surname, birth, phone, city, country
  • genre: (man, women, other)
  • left handed: (yes, no)
  • right category, left category (enum: 5a, 4b, 4a, 3b, 3a, 2b, 2a, 1b, 1a)
  • federated license (alphanum)

Clubs:

  • name, address

Preferences:

  • mixed (yes, no)
  • min_category, max_category (enum: 5a, 4b, 4a, 3b, 3a, 2b, 2a, 1b, 1a)
  • clubs (multiple relation with Clubs)

PachangaCoach:

  • Player (relation with Player)

Pachanga:

  • date
  • club (raltion with club)
  • couple_a_left: (relation with Player)
  • couple_a_right: (relation with Player)
  • couple_b_left: (relation with Player)
  • couple_b_right: (relation with Player)
  • winners
  • score
  • Coach (relation with PachangaCoach)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant