Changes between Version 7 and Version 8 of ConceptualModel
- Timestamp:
- 05/05/26 20:25:00 (2 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ConceptualModel
v7 v8 1 = ERModel v0 11 = ERModel v02 2 2 3 3 == Diagram 4 [[Image(ERModel_v0 1.jpg)]]4 [[Image(ERModel_v02.jpg)]] 5 5 6 6 == Entities … … 87 87 * {{{age}}} - Numeric (Required, non-negative integer). 88 88 89 * {{{password}}} - Text (Required, Hashed format, Min. 8 characters).90 91 89 * {{{special_needs}}} - Text (Optional). 92 90 … … 100 98 101 99 '''Candidate keys:''' 102 * {{{pet _id}}} - '''Primary key'''; Unique surrogate key.100 * {{{pettype_id}}} - '''Primary key'''; Unique surrogate key. 103 101 * {{{species}}} - Unique but not as efficient as a numeric id key. 104 102 … … 139 137 {{{Review}}} 140 138 141 The feedback that the {{{PetOwner}}} leaves for the {{{PetSitter}}} after a completed {{{Booking}}}. This is mandatory tomaintain trust and establish quality on the platform.139 The feedback that the {{{PetOwner}}} leaves for the {{{PetSitter}}} after a completed {{{Booking}}}. This is optional but it helps maintain trust and establish quality on the platform. 142 140 143 141 '''Candidate keys:''' … … 195 193 ---- 196 194 197 {{{ leaves - PetOwner to Review}}}195 {{{owns - PetOwner to Pet}}} 198 196 * 1:N relation 199 * one {{{PetOwner}}} can leave many reviews to sitters, but each {{{Review}}} has one unique owner.200 201 ---- 202 203 {{{ receives - Review to PetSitter}}}204 * 1: Nrelation205 * one {{{ PetSitter}}} can receive many reviews from clients, but each {{{Review}}} is meant for one unique {{{PetSitter}}}.197 * one {{{PetOwner}}} can register multiple pets, but each {{{Pet}}} belongs to one owner. 198 199 ---- 200 201 {{{produces - Booking to Review}}} 202 * 1:1 relation 203 * one {{{Booking}}} produces max. one {{{Review}}} from a client. 206 204 207 205 … … 247 245 * 1:1 relation 248 246 * each {{{Booking}}} has exactly one {{{Payment}}} record, and each {{{Payment}}} record is associated with exactly one {{{Booking}}} 247 248 == Version history 249 250 [https://develop.finki.ukim.mk/projects/petsitter/wiki/ConceptualModel_v01 v01] 251 * Initial version 252 253 [https://develop.finki.ukim.mk/projects/petsitter/wiki/ConceptualModel v02] 254 * Current version 255 * Added '''owns''' relation between {{{PetOwner}}} and {{{Pet}}}; so each pet can be assigned to an owner 256 * Added '''produces''' relation between {{{Booking}}} and {{{Review}}}; so each review can be associated directly with only a booking 257 * Removed redundant '''leaves''' relation between {{{PetOwner}}} and {{{Review}}} 258 * Removed redundant '''receives''' relation between {{{PetSitter}}} and {{{Review}}}
