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

CC-01: Gift Models #3

Closed
matherg opened this issue Sep 19, 2023 · 0 comments · Fixed by #21
Closed

CC-01: Gift Models #3

matherg opened this issue Sep 19, 2023 · 0 comments · Fixed by #21

Comments

@matherg
Copy link
Contributor

matherg commented Sep 19, 2023

Create type definitions in the type.go file based off our UML diagram for Gifts, GiftRequest, GiftResponse and GiftCollection.
Create input types for each model.
Create relations between GiftRequest - GiftResponse (1:1), GiftCollection-GiftResponse(1:0,1), GiftCollection - Gift (Many:Many)
Make sure to place constraints where needed (ex. age should be between 0 and 120)
Test correct model creation and relations in the db_test.go file.

@aidanobrien411 @DamianUduevbo
Gorm
EngNotes
UML

@matherg matherg added this to the Basic Backend Infrastructure milestone Sep 19, 2023
@matherg matherg linked a pull request Oct 6, 2023 that will close this issue
4 tasks
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

Successfully merging a pull request may close this issue.

4 participants