Changes between Version 2 and Version 3 of ERModel
- Timestamp:
- 08/27/26 23:18:15 (5 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ERModel
v2 v3 2 2 3 3 == Diagram 4 [[Image(ERModel_v0 2.png)]]4 [[Image(ERModel_v03.png)]] 5 5 6 6 == Entities … … 116 116 {{{Booking}}} 117 117 118 The entity that connects {{{PetOwner}}}, {{{PetSitter}}}, {{{Pet}}} and the service srequested for the {{{Pet}}}118 The entity that connects {{{PetOwner}}}, {{{PetSitter}}}, {{{Pet}}} and the service requested for the {{{Pet}}} 119 119 120 120 '''Candidate keys:''' … … 245 245 246 246 {{{requires - Booking to Service}}} 247 * M:Nrelation248 * a {{{Booking}}} can require multiple services (Walking, Overnight stay)and a specific {{{Service}}} type can be requested in many different bookings.247 * N:1 relation 248 * each {{{Booking}}} requires exactly one {{{Service}}} (for example Overnight stay), and a specific {{{Service}}} type can be requested in many different bookings. 249 249 * Total participation on Booking, Partial participation on Service 250 250 … … 261 261 * Initial version 262 262 263 [https://develop.finki.ukim.mk/projects/petsitter/wiki/ERModel v02] 264 * Current version 263 [https://develop.finki.ukim.mk/projects/petsitter/wiki/ERModel_v02 v02] 265 264 * Added '''owns''' relation between {{{PetOwner}}} and {{{Pet}}}; so each pet can be assigned to an owner 266 265 * Added '''produces''' relation between {{{Booking}}} and {{{Review}}}; so each review can be associated directly with only a booking 267 266 * Removed redundant '''leaves''' relation between {{{PetOwner}}} and {{{Review}}} 268 267 * Removed redundant '''receives''' relation between {{{PetSitter}}} and {{{Review}}} 268 269 [https://develop.finki.ukim.mk/projects/petsitter/wiki/ERModel v03] 270 * Current version 271 * Changed the '''requires''' relation between {{{Booking}}} and {{{Service}}} from M:N to N:1; each {{{Booking}}} now requires exactly one {{{Service}}}
