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

Add Workshop Model + Views + Service #7

Open
ad0bre opened this issue Mar 25, 2023 · 0 comments
Open

Add Workshop Model + Views + Service #7

ad0bre opened this issue Mar 25, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ad0bre
Copy link
Member

ad0bre commented Mar 25, 2023

Add a Workshop model with the following properties:

  • Title (string)
  • Description
  • Location
  • Capacity
  • ParticipantsNumber
  • Trainer (String) [!!! Nu ne complicam cu user id]
  • Pariticpants (List => User Ids)

Service:
CRUD
Subscribe method => add user to list and increment participantsnumber if participantsnumber < capacity
Unsubscibe => remove + decrement

@ad0bre ad0bre added the enhancement New feature or request label Mar 25, 2023
@ad0bre ad0bre assigned davidstana1 and unassigned Miri39 Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants