diff --git a/Day 6 (problem domain entities)/CampusVisits.md b/Day 6-7 (problem domain entities)/CampusVisits.md similarity index 55% rename from Day 6 (problem domain entities)/CampusVisits.md rename to Day 6-7 (problem domain entities)/CampusVisits.md index 4be316e..e9ae25d 100644 --- a/Day 6 (problem domain entities)/CampusVisits.md +++ b/Day 6-7 (problem domain entities)/CampusVisits.md @@ -27,20 +27,35 @@ We would like a system to address the following: ## Entities - Users - - Role: boolean for each of: (coordinator, admin, tour guide) - - Busy times (for guides) + - *Coordinator* (boolean) - true iff the user coordinates between CV office and faculty. + - *Admin* (boolean) - true for superuser priviledges, such as creating and deleting users. + - *Guide* (boolean) - true iff the user can do campus visits for Computer Science. + - *Unavailable times* - (for guides only) a weekly schedule of regularly unavailable times for campus visits - Visits - - Possible times (start and end intervals) - - Visitors - - Where - - Decided time (start/end) - - Decided guide (if any) - - Status (proposed, assigned, completed, cancelled, conflicting) + - *Visitors* - a list of people in the visiting group + - *Possible times* - a list of time intervals in which the visitors are available on the visit day + - *Day* - a calendar day for which the visit has been scheduled of the campus visit office + - *Decided time* - a time at which the guide has agreed to meet for this visit + - *Decided guide* - the guide which has agreed to conduct this visit + - *Status* - the current status of this visit: + - *Proposed* - created by the CV office, but no guide assigned + - *assigned* - a guide has agreed to do the visit, at a decided time + - *completed* - the guide has conducted the visit + - *cancelled* - the visit has been cancelled before it could be conducted - Visitors - - Role (prospective student, parent, etc.) - - Antipicated start semester - - Antipicated majors, minors -- Existing campus visit system to sync with? + - *Role* - the type of visitor: prospective student, parent, or guest (other). + - *Antipicated start semester* - the start semester, as reported by the CV office + - *Antipicated majors, minors* - desired major(s) and minor(s), from the CV office + - *Type* - category (for prospective students only): high school, transfer, or non-traditional + - *Hometown* - name of city and state of origin + - *Notes* - other information pertaining to the visit that should be made known to its guide +- Committment - the level of committment expressed by a given guide for a given visit + - *Level* - possible values for involvement are: unknown, cannot, prefer not, can do, will do + +![UML Diagram](uml.png "Entity relations") ## Events + + +TODO: Have conflicts reported by the system if detected. diff --git a/Day 6-7 (problem domain entities)/uml.png b/Day 6-7 (problem domain entities)/uml.png new file mode 100644 index 0000000..8101a38 Binary files /dev/null and b/Day 6-7 (problem domain entities)/uml.png differ