Changes between Version 2 and Version 3 of ERModel


Ignore:
Timestamp:
08/27/26 23:18:15 (5 days ago)
Author:
181201
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ERModel

    v2 v3  
    22
    33== Diagram
    4 [[Image(ERModel_v02.png)]]
     4[[Image(ERModel_v03.png)]]
    55
    66== Entities
     
    116116{{{Booking}}}
    117117
    118 The entity that connects {{{PetOwner}}}, {{{PetSitter}}}, {{{Pet}}} and the services requested for the {{{Pet}}}
     118The entity that connects {{{PetOwner}}}, {{{PetSitter}}}, {{{Pet}}} and the service requested for the {{{Pet}}}
    119119
    120120'''Candidate keys:'''
     
    245245
    246246{{{requires - Booking to Service}}}
    247 * M:N relation
    248 * 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.
    249249* Total participation on Booking, Partial participation on Service
    250250
     
    261261* Initial version
    262262
    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]
    265264* Added '''owns''' relation  between {{{PetOwner}}} and {{{Pet}}}; so each pet can be assigned to an owner
    266265* Added '''produces''' relation  between {{{Booking}}} and {{{Review}}}; so each review can be associated directly with only a booking
    267266* Removed redundant '''leaves''' relation between {{{PetOwner}}} and {{{Review}}}
    268267* 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}}}