aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-03-17 21:30:15 -0400
committerGunther6070 <haydenhartman10@yahoo.com>2025-03-17 21:30:15 -0400
commit1bf10f9f26f47ea5cff7ff48d5664febb0ed2585 (patch)
treea89b7f47dddabef467e98fb40e57473dfb70bd36
parent91f5e51f763abb0b08c5dea468925222c8065d76 (diff)
downloadJellySolutions-1bf10f9f26f47ea5cff7ff48d5664febb0ed2585.tar.gz
JellySolutions-1bf10f9f26f47ea5cff7ff48d5664febb0ed2585.tar.bz2
JellySolutions-1bf10f9f26f47ea5cff7ff48d5664febb0ed2585.zip
Added model tier summary
-rw-r--r--docs/DesignDoc.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/DesignDoc.md b/docs/DesignDoc.md
index 79f2864..5d673b2 100644
--- a/docs/DesignDoc.md
+++ b/docs/DesignDoc.md
@@ -151,6 +151,8 @@ The Model Tier contains the classes responsible for handling and serving Need da
> section will follow the same instructions that are given for the View
> Tier above._
+In our model tier we have a Need class, a User class, and a UserAuth class. The Need class represents needs and has fields for all of their values. Users have a passwordHash field, storing a hashed version of their password, an List of integers, representing the ID's of needs in the basket, and the userType which determines their privileges. The UserAuth class stores a key, a username, and expiration. A key is generated for a user and is used to authenticate the user. The username is the name associated with the key and the expiration is how long until the user must login again.
+
> _At appropriate places as part of this narrative provide **one** or more updated and **properly labeled**
> static models (UML class diagrams) with some details such as associations (connections) between classes, and critical attributes and methods. (**Be sure** to revisit the Static **UML Review Sheet** to ensure your class diagrams are using correct format and syntax.)_
>