Changes between Version 7 and Version 8 of ConceptualModel


Ignore:
Timestamp:
05/05/26 20:25:00 (2 days ago)
Author:
181201
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ConceptualModel

    v7 v8  
    1 = ERModel v01
     1= ERModel v02
    22
    33== Diagram
    4 [[Image(ERModel_v01.jpg)]]
     4[[Image(ERModel_v02.jpg)]]
    55
    66== Entities
     
    8787* {{{age}}} - Numeric (Required, non-negative integer).
    8888
    89 * {{{password}}} - Text (Required, Hashed format, Min. 8 characters).
    90 
    9189* {{{special_needs}}} - Text (Optional).
    9290
     
    10098
    10199'''Candidate keys:'''
    102 * {{{pet_id}}} - '''Primary key'''; Unique surrogate key.
     100* {{{pettype_id}}} - '''Primary key'''; Unique surrogate key.
    103101* {{{species}}} - Unique but not as efficient as a numeric id key.
    104102
     
    139137{{{Review}}}
    140138
    141 The feedback that the {{{PetOwner}}} leaves for the {{{PetSitter}}} after a completed {{{Booking}}}. This is mandatory to maintain trust and establish quality on the platform.
     139The 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.
    142140
    143141'''Candidate keys:'''
     
    195193----
    196194
    197 {{{leaves - PetOwner to Review}}}
     195{{{owns - PetOwner to Pet}}}
    198196* 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:N relation
    205 * 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.
    206204
    207205
     
    247245* 1:1 relation
    248246* 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}}}