Changes between Initial Version and Version 1 of ERModel


Ignore:
Timestamp:
11/30/26 00:09:08 (3 hours ago)
Author:
246009
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ERModel

    v1 v1  
     1
     2= Entity-Relationship Model v.05 =
     3
     4== Diagram ==
     5
     6[[Image(ERModel_v05.png, width=100%)]]
     7
     8== Data requirements ==
     9
     10The Entity-Relationship Model of KomshI/O represents the data necessary for the organization and management of residential buildings. The model includes information about residential buildings, entrances, properties, property owners, residents, building boards, elections, meetings, notifications and requests.
     11
     12The database is designed to support the administrative organization of residential buildings, communication between users, election procedures and the submission and resolution of requests.
     13
     14=== Entities ===
     15
     16==== Buildings ====
     17
     18The Buildings entity represents residential buildings registered within the KomshI/O platform. It serves as one of the central entities of the database, connecting building entrances, building boards and elections.
     19
     20'''Candidate keys:'''
     21 * '''building_id''' — Selected as the primary key because it provides a unique and stable identifier for each registered building, regardless of possible changes to its address.
     22
     23'''Attributes:'''
     24 * '''building_id''' — Integer, required, unique and positive.
     25 * '''address''' — Composite attribute representing the physical address of the residential building, consisting of:
     26   * '''street''' — Text, required, representing the street name.
     27   * '''street_number''' — Text, required, allowing both numeric and alphanumeric building numbers.
     28   * '''city''' — Text, required, representing the city in which the building is located.
     29   * '''municipality''' — Text, required, representing the municipality to which the building belongs.
     30
     31
     32==== Entrances ====
     33
     34The Entrances entity represents individual entrances within residential buildings. It is necessary because a residential building may consist of multiple entrances, each containing different properties and requiring its own representatives within the building board.
     35
     36'''Candidate keys:'''
     37 * '''entrance_id''' — Selected as the primary key because entrance numbers may be repeated across different residential buildings.
     38
     39'''Attributes:'''
     40 * '''entrance_id''' — Integer, required, unique and positive.
     41 * '''entrance_number''' — Text, required, representing the number or designation of the entrance within the building.
     42 * '''req_representatives''' — Integer, required and non-negative, representing the required number of representatives for the entrance.
     43
     44The entrance number should be unique within its corresponding building.
     45
     46
     47==== Properties ====
     48
     49The Properties entity represents individual properties located within residential building entrances. These may include apartments, commercial spaces, garages or other privately owned units. The entity is necessary for maintaining information about property ownership, residency and property area, which may be relevant to election and voting procedures.
     50
     51'''Candidate keys:'''
     52 * '''property_id''' — Selected as the primary key because it provides a unique internal identifier independent of external property registration information.
     53 * '''cadastral_number''' — A potential alternative candidate key, provided that it uniquely identifies a property within the supported cadastral system, but harder to connect and identify the corresponding building.
     54
     55'''Attributes:'''
     56 * '''property_id''' — Integer, required, unique and positive.
     57 * '''property_number''' — Text, required, representing the designation of the property within its entrance.
     58 * '''floor_number''' — Integer, required, representing the floor on which the property is located. Negative values are permitted for underground floors.
     59 * '''area_m2''' — Decimal number, required and greater than zero, representing the area of the property in square meters.
     60 * '''cadastral_number''' — Text, required, representing the cadastral identification of the property.
     61 * '''property_type''' — Text, required, restricted to supported property types, such as apartment, commercial space, garage or other.
     62
     63
     64==== Persons ====
     65
     66The Persons entity represents individuals registered within the KomshI/O platform. It contains personal information, contact information and authentication details that are common to the different types of users.
     67
     68This entity serves as a superclass for residents, property owners and administrators, allowing common attributes to be stored without duplication.
     69
     70'''Candidate keys:'''
     71 * '''user_id''' — Selected as the primary key because it provides a unique and stable identifier for each registered person.
     72 * '''username''' — An alternative candidate key because each registered user must have a unique username, but harder to maintain than an id.
     73 * '''ssn''' — A potential alternative candidate key when personal identification numbers are required, verified and unique, however contains personal information.
     74
     75The user_id is preferred because it is independent of personal information and authentication details.
     76
     77'''Attributes:'''
     78 * '''user_id''' — Integer, required, unique and positive.
     79 * '''first_name''' — Text, required, representing the first name of the person.
     80 * '''last_name''' — Text, required, representing the last name of the person.
     81 * '''phone_number''' — Text, optional, following a valid telephone number format.
     82 * '''email''' — Text, required, following a valid email address format.
     83 * '''ssn''' — Text, representing the personal identification number of the person. When collected, it must follow the appropriate identification number format and be protected from unauthorized access.
     84 * '''username''' — Text, required and unique, used for authentication.
     85 * '''password_hash''' — Text, required, representing the securely generated hash of the user's password. Passwords must not be stored in their original form.
     86
     87
     88==== Residents ====
     89
     90The Residents entity represents registered individuals who reside in properties within residential buildings. Residents can receive notifications, submit requests and follow information concerning their residential community.
     91
     92The entity is modeled as a specialization of Persons because residents share the same personal and authentication information as other users, but have specific responsibilities and permissions.
     93
     94'''Primary key:'''
     95 * '''user_id''' — Inherited from Persons.
     96
     97'''Attributes:'''
     98 * No additional attributes.
     99
     100
     101==== PropertyOwners ====
     102
     103The PropertyOwners entity represents individuals who own one or more properties or a share of a property within residential buildings.
     104
     105Property owners have additional responsibilities and privileges compared to regular residents, including participation in elections, voting for candidates and becoming candidates for positions within building boards.
     106
     107The entity is modeled as a specialization of Persons.
     108
     109'''Primary key:'''
     110 * '''user_id''' — Inherited from Persons.
     111
     112'''Attributes:'''
     113 * No additional attributes.
     114
     115
     116==== Administrators ====
     117
     118The Administrators entity represents individuals responsible for the operation and administration of the KomshI/O platform - our team. Our responsibilities include maintaining the application, managing platform-level permissions, handling technical issues and supporting the registration of residential buildings.
     119
     120Administrators are modeled as a specialization of Persons in order to distinguish their administrative privileges from those of regular users.
     121
     122'''Primary key:'''
     123 * '''user_id''' — Inherited from Persons.
     124
     125'''Attributes:'''
     126 * No additional attributes.
     127
     128
     129==== BoardMembers ====
     130
     131The BoardMembers entity represents property owners who participate in the management and organization of residential buildings as members of building boards.
     132
     133Board members represent individual entrances and participate in the activities of their respective building boards. A board member may also serve as the president of a board.
     134
     135This entity is modeled as a specialization of PropertyOwners because every board member must also be a property owner.
     136
     137'''Primary key:'''
     138 * '''user_id''' — Inherited from PropertyOwners.
     139
     140'''Attributes:'''
     141 * No additional attributes.
     142
     143
     144==== Boards ====
     145
     146The Boards entity represents organizational bodies responsible for the management and coordination of residential buildings.
     147
     148A building board consists of board members who represent the interests of the property owners and residents. A board may have a president, organize meetings and handle requests submitted by users.
     149
     150Modeling boards as a separate entity allows different boards established within the same residential building to be distinguished from one another.
     151
     152'''Candidate keys:'''
     153 * '''board_id''' — Selected as the primary key because it uniquely identifies each building board independently of the building and establishment date.
     154
     155'''Attributes:'''
     156 * '''board_id''' — Integer, required, unique and positive.
     157 * '''establishment_date''' — Date, required, representing the date on which the board was established.
     158 * '''status''' — Text, required, representing the current status of the board, such as active or inactive.
     159
     160
     161==== Meetings ====
     162
     163The Meetings entity represents meetings organized by building boards. Meetings provide a way for board members, property owners and residents to discuss matters concerning their residential building.
     164
     165Meetings are modeled as a weak entity because each meeting depends on the existence of the building board that organizes it. The meeting number uniquely identifies a meeting only within its corresponding board.
     166
     167'''Identification:'''
     168 * '''meeting_number''' — Partial key that distinguishes meetings organized by the same board.
     169 * The complete identifier of a meeting consists of the board_id of the identifying board and the meeting_number.
     170
     171The identifying relationship is organizes.
     172
     173'''Attributes:'''
     174 * '''meeting_number''' — Integer, required and positive, unique within the corresponding board.
     175 * '''title''' — Text, required, representing the title of the meeting.
     176 * '''description''' — Text, optional, providing additional information about the meeting.
     177 * '''date''' — Date, required, representing the scheduled date of the meeting.
     178 * '''time''' — Time, required, representing the scheduled starting time of the meeting.
     179 * '''location''' — Text, required, representing the location at which the meeting will take place.
     180 * '''topics''' — Multivalued text attribute representing the topics planned for discussion during the meeting. A meeting may have multiple discussion topics.
     181
     182
     183==== Elections ====
     184
     185The Elections entity represents organized election procedures within residential buildings. Elections allow eligible property owners to select their entrance representatives and building board presidents.
     186
     187The entity stores information about the election period, election type, current status and the maximum number of votes that an individual property owner may submit.
     188
     189'''Candidate keys:'''
     190 * '''election_id''' — Selected as the primary key because election titles and election dates are not necessarily unique.
     191
     192'''Attributes:'''
     193 * '''election_id''' — Integer, required, unique and positive.
     194 * '''title''' — Text, required, representing the title of the election.
     195 * '''start_date''' — Date and time, required, representing the beginning of the election period.
     196 * '''end_date''' — Date and time, required, representing the end of the election period. It must be later than start_date.
     197 * '''status''' — Text, required, restricted to supported election states, such as scheduled, active, completed or cancelled.
     198 * '''election_type''' — Text, required, representing the type of election, such as board member election or board president election.
     199 * '''max_votes_per_owner''' — Integer, required and greater than zero, representing the maximum number of votes that an eligible property owner may submit within the election.
     200
     201
     202==== ElectionCandidates ====
     203
     204The ElectionCandidates entity represents individual candidacies within elections organized by residential buildings.
     205
     206A property owner may participate as a candidate in multiple elections. Therefore, candidacies are modeled separately from property owners in order to maintain election-specific information, including the candidacy status and election result.
     207
     208'''Candidate keys:'''
     209 * '''candidate_id''' — Selected as the primary key because it provides a unique identifier for each individual candidacy.
     210
     211'''Attributes:'''
     212 * '''candidate_id''' — Integer, required, unique and positive.
     213 * '''status''' — Text, required, representing the current status of the candidacy, such as pending, approved, rejected or withdrawn.
     214 * '''is_elected''' — Boolean, representing whether the candidate has been elected. The final election result is determined after the election period has ended.
     215
     216
     217==== Notifications ====
     218
     219The Notifications entity represents announcements and messages distributed to registered users of the KomshI/O platform.
     220
     221Notifications may contain general building-related information or announcements concerning upcoming meetings and elections. Modeling notifications separately allows a single notification to be distributed to multiple users.
     222
     223'''Candidate keys:'''
     224 * '''notification_id''' — Selected as the primary key because it uniquely identifies each notification.
     225
     226'''Attributes:'''
     227 * '''notification_id''' — Integer, required, unique and positive.
     228 * '''title''' — Text, required, representing the title of the notification.
     229 * '''content''' — Text, required, containing the information communicated to the recipients.
     230 * '''sent_at''' — Date and time, required, representing the moment at which the notification was sent.
     231
     232
     233==== Requests ====
     234
     235The Requests entity represents requests, suggestions and maintenance-related issues submitted by registered users.
     236
     237Examples of requests include reports of broken light bulbs, elevator malfunctions, damaged shared facilities and other problems concerning residential buildings.
     238
     239Requests are assigned to the responsible building boards and their status is maintained until they are resolved or rejected.
     240
     241'''Candidate keys:'''
     242 * '''request_id''' — Selected as the primary key because it provides a unique reference for each submitted request.
     243
     244'''Attributes:'''
     245 * '''request_id''' — Integer, required, unique and positive.
     246 * '''title''' — Text, required, representing a short title of the request.
     247 * '''description''' — Text, required, containing detailed information about the reported issue or submitted suggestion.
     248 * '''submission_date''' — Date and time, required, representing the moment at which the request was submitted.
     249 * '''status''' — Text, required, restricted to supported request states, such as submitted, in progress, resolved or rejected.
     250 * '''resolution''' — Text, optional, containing information about the actions taken and the resolution of the request.
     251
     252
     253=== Specializations ===
     254
     255==== Persons — Residents, PropertyOwners and Administrators ====
     256
     257The Persons entity is specialized into Residents, PropertyOwners and Administrators according to the responsibilities and privileges of registered users.
     258
     259The specialization is overlapping because an individual may simultaneously belong to more than one subtype. For example, a property owner may also reside in a property within a residential building.
     260
     261The specialization is partial, meaning that a person is not necessarily required to belong to one of the defined subtypes.
     262
     263All specialized entities inherit the primary key and common attributes of Persons.
     264
     265
     266==== PropertyOwners — BoardMembers ====
     267
     268The BoardMembers entity represents a specialization of PropertyOwners.
     269
     270Every board member must also be a property owner, while not every property owner is required to be a board member. This allows the database to distinguish property owners who participate in the administrative organization of residential buildings from other property owners.
     271
     272BoardMembers inherits the primary key and attributes of PropertyOwners.
     273
     274
     275=== Relationships ===
     276
     277==== has (Buildings — Entrances) ====
     278
     279The has relationship represents the structural organization of residential buildings into individual entrances. A building may contain multiple entrances, while each entrance belongs to exactly one residential building.
     280
     281The relationship is necessary for organizing properties and representatives according to their building entrances.
     282
     283'''Cardinality:''' 1:N.
     284
     285'''Participation:''' Total participation of Entrances and partial participation of Buildings.
     286
     287'''Attributes:''' None.
     288
     289
     290==== has (Entrances — Properties) ====
     291
     292The has relationship represents the association between residential building entrances and individual properties.
     293
     294An entrance may contain multiple properties, while each property belongs to exactly one entrance.
     295
     296'''Cardinality:''' 1:N.
     297
     298'''Participation:''' Total participation of Properties and partial participation of Entrances.
     299
     300'''Attributes:''' None.
     301
     302
     303==== resides_in (Residents — Properties) ====
     304
     305The resides_in relationship represents the association between residents and the properties in which they reside.
     306
     307A property may accommodate multiple residents, while each resident is associated with exactly one property in the current model.
     308
     309'''Cardinality:''' N:1.
     310
     311'''Participation:''' Total participation of Residents and partial participation of Properties.
     312
     313'''Attributes:''' None.
     314
     315
     316==== owns (PropertyOwners — Properties) ====
     317
     318The owns relationship represents ownership of individual properties.
     319
     320A property owner may own multiple properties, while a property may be owned by multiple property owners. Shared ownership is supported through the ownership_share attribute.
     321
     322The relationship is necessary for determining property ownership and obtaining information relevant to election eligibility and weighted voting.
     323
     324'''Cardinality:''' M:N.
     325
     326'''Participation:''' Partial participation of both entities according to the current model.
     327
     328'''Attributes:'''
     329 * '''ownership_share''' — Decimal number, required, greater than zero and less than or equal to 100, representing the percentage of the property owned by the corresponding property owner.
     330
     331The sum of the recorded ownership shares for a property must not exceed 100%. When all owners of a property are registered, the sum should equal 100%.
     332
     333
     334==== represents (BoardMembers — Entrances) ====
     335
     336The represents relationship identifies the entrance represented by a particular board member.
     337
     338An entrance may have multiple board representatives, while each board member represents exactly one entrance in the current model.
     339
     340The relationship allows larger residential buildings to organize their representation according to individual entrances.
     341
     342'''Cardinality:''' N:1.
     343
     344'''Participation:''' Total participation of BoardMembers and partial participation of Entrances.
     345
     346'''Attributes:''' None.
     347
     348
     349==== member_of (BoardMembers — Boards) ====
     350
     351The member_of relationship represents membership within a building board.
     352
     353A building board may consist of multiple board members, while each board member belongs to exactly one board in the current model.
     354
     355'''Cardinality:''' N:1.
     356
     357'''Participation:''' Total participation of BoardMembers and partial participation of Boards.
     358
     359'''Attributes:''' None.
     360
     361
     362==== is_president (BoardMembers — Boards) ====
     363
     364The is_president relationship identifies the board member who serves as the president of a building board.
     365
     366A board may have at most one president, while a board member may serve as president of at most one board.
     367
     368The president must also be a member of the corresponding board.
     369
     370'''Cardinality:''' 1:1.
     371
     372'''Participation:''' Partial participation of both entities.
     373
     374'''Attributes:''' None.
     375
     376
     377==== has (Buildings — Boards) ====
     378
     379The has relationship associates residential buildings with their building boards.
     380
     381A residential building may have multiple board records, allowing different boards established over time to be distinguished. Each board belongs to exactly one residential building.
     382
     383'''Cardinality:''' 1:N.
     384
     385'''Participation:''' Total participation of Boards and partial participation of Buildings.
     386
     387'''Attributes:''' None.
     388
     389
     390==== organizes (Boards — Meetings) ====
     391
     392The organizes relationship represents the organization of meetings by building boards.
     393
     394A building board may organize multiple meetings, while each meeting must be organized by exactly one board.
     395
     396This is an identifying relationship because Meetings is a weak entity. A meeting cannot exist independently of the building board that organizes it.
     397
     398'''Cardinality:''' 1:N.
     399
     400'''Participation:''' Total participation of Meetings and partial participation of Boards.
     401
     402'''Relationship type:''' Identifying relationship.
     403
     404'''Attributes:''' None.
     405
     406
     407==== within (Buildings — Elections) ====
     408
     409The within relationship identifies the residential building in which an election takes place.
     410
     411A residential building may organize multiple elections, while each election belongs to exactly one residential building.
     412
     413This relationship is necessary for determining the residential community to which the election applies.
     414
     415'''Cardinality:''' 1:N.
     416
     417'''Participation:''' Total participation of Elections and partial participation of Buildings.
     418
     419'''Attributes:''' None.
     420
     421
     422==== candidates (PropertyOwners — ElectionCandidates) ====
     423
     424The candidates relationship associates property owners with their individual candidacies.
     425
     426A property owner may participate as a candidate in multiple elections, while each individual candidacy belongs to exactly one property owner.
     427
     428The relationship allows information about the property owner to remain separate from information specific to a particular candidacy.
     429
     430'''Cardinality:''' 1:N.
     431
     432'''Participation:''' Total participation of ElectionCandidates and partial participation of PropertyOwners.
     433
     434'''Attributes:''' None.
     435
     436
     437==== candidates_for (Elections — ElectionCandidates) ====
     438
     439The candidates_for relationship associates individual candidacies with the elections in which they participate.
     440
     441An election may contain multiple candidates, while each individual candidacy belongs to exactly one election.
     442
     443'''Cardinality:''' 1:N.
     444
     445'''Participation:''' Total participation of ElectionCandidates and partial participation of Elections.
     446
     447'''Attributes:''' None.
     448
     449
     450==== running_for_ent (ElectionCandidates — Entrances) ====
     451
     452The running_for_ent relationship represents the entrance that an election candidate intends to represent.
     453
     454An entrance may have multiple election candidates, while each individual candidacy may be associated with at most one entrance.
     455
     456The relationship is particularly relevant to elections for entrance representatives. Participation may be optional for elections that do not concern entrance representation.
     457
     458'''Cardinality:''' N:1.
     459
     460'''Participation:''' Partial participation of both entities.
     461
     462'''Attributes:''' None.
     463
     464
     465==== vote (PropertyOwners — ElectionCandidates) ====
     466
     467The vote relationship represents votes submitted by property owners for election candidates.
     468
     469A property owner may vote for multiple election candidates, subject to the voting restrictions of the corresponding election. An election candidate may receive votes from multiple property owners.
     470
     471Voting is modeled as a relationship rather than as a separate entity because each vote represents an association between a property owner and an individual election candidacy.
     472
     473'''Cardinality:''' M:N.
     474
     475'''Participation:''' Partial participation of both entities.
     476
     477'''Attributes:'''
     478 * '''voted_at''' — Date and time, required, representing the moment at which the vote was submitted.
     479 * '''weight_m2''' — Decimal number, required and greater than zero, representing the voting weight associated with the eligible property area of the voter.
     480
     481A property owner may vote only in elections for which they are eligible. Votes must be submitted within the corresponding election period, and the number of votes must not exceed the maximum number permitted by the election.
     482
     483The voting weight represents the eligible property area associated with the property owner at the moment of voting, taking ownership shares into consideration.
     484
     485
     486==== sends (Persons — Notifications) ====
     487
     488The sends relationship identifies the person responsible for sending a notification.
     489
     490A person may send multiple notifications, while each notification must have exactly one sender.
     491
     492The relationship is connected to Persons in order to support notification sending by users with the appropriate roles and permissions, as well as not losing information of senders who were previously board members.
     493
     494'''Cardinality:''' 1:N.
     495
     496'''Participation:''' Total participation of Notifications and partial participation of Persons.
     497
     498'''Attributes:''' None.
     499
     500
     501==== sent_to (Notifications — Persons) ====
     502
     503The sent_to relationship represents the distribution of notifications to registered users.
     504
     505A notification may be distributed to multiple persons, while a person may receive multiple notifications.
     506
     507The relationship contains an additional attribute specifying the communication channel used for distribution.
     508
     509'''Cardinality:''' M:N.
     510
     511'''Participation:''' Partial participation of both entities.
     512
     513'''Attributes:'''
     514 * '''channel''' — Text, required, restricted to supported communication channels, such as in-application notification or email.
     515
     516
     517==== announcement_for (Notifications — Elections) ====
     518
     519The announcement_for relationship associates notifications with elections when the notification contains information regarding an election.
     520
     521An election may have multiple related notifications, while a notification may refer to at most one election.
     522
     523Participation is optional because notifications may also contain general building-related information or announcements concerning meetings.
     524
     525'''Cardinality:''' N:1.
     526
     527'''Participation:''' Partial participation of both entities.
     528
     529'''Attributes:''' None.
     530
     531
     532==== announcement_for (Notifications — Meetings) ====
     533
     534The announcement_for relationship associates notifications with meetings organized by building boards.
     535
     536A meeting may have multiple related notifications, while a notification may refer to at most one meeting.
     537
     538The relationship enables users to receive information about scheduled meetings and their details.
     539
     540'''Cardinality:''' N:1.
     541
     542'''Participation:''' Partial participation of both entities.
     543
     544'''Attributes:''' None.
     545
     546
     547==== submits (Persons — Requests) ====
     548
     549The submits relationship identifies the person responsible for submitting a request.
     550
     551A person may submit multiple requests, while each request must be submitted by exactly one registered person.
     552
     553The relationship allows requests to be associated with their original submitters and enables users to follow the status and resolution of their requests.
     554
     555The ability to submit requests is restricted according to the user's role and association with the corresponding residential building.
     556
     557'''Cardinality:''' 1:N.
     558
     559'''Participation:''' Total participation of Requests and partial participation of Persons.
     560
     561'''Attributes:''' None.
     562
     563
     564==== request_receiver (Requests — Boards) ====
     565
     566The request_receiver relationship identifies the building board responsible for handling a submitted request.
     567
     568A building board may receive multiple requests, while each request must be assigned to exactly one board.
     569
     570This relationship enables requests to be forwarded to the appropriate organizational body responsible for reviewing and resolving them.
     571
     572'''Cardinality:''' N:1.
     573
     574'''Participation:''' Total participation of Requests and partial participation of Boards.
     575
     576'''Attributes:''' None.
     577
     578
     579=== Additional data requirements and integrity constraints ===
     580
     581The following business rules further describe the intended behavior of the conceptual database model:
     582
     583 * Each entrance must belong to a residential building.
     584 * Each property must belong to an entrance.
     585 * The property area must be greater than zero.
     586 * The total recorded ownership share of a property must not exceed 100%.
     587 * A person may simultaneously be a resident and a property owner.
     588 * Every board member must also be a property owner.
     589 * A board member must represent an entrance belonging to the same building as their corresponding board.
     590 * A building may have multiple historical boards, but at most one active board at a time.
     591 * The president of a building board must also be a member of that board.
     592 * Each meeting must be organized by an existing building board.
     593 * Meeting numbers must be unique within their corresponding building board.
     594 * The ending date of an election must be later than its starting date.
     595 * Election candidates must be eligible property owners associated with the corresponding residential building.
     596 * A candidate representing an entrance must be associated with an entrance belonging to the building in which the election takes place.
     597 * A property owner must not exceed the maximum number of votes permitted within an election.
     598 * A property owner may vote for the same individual candidacy at most once.
     599 * Votes must be submitted within the defined election period.
     600 * Voting weight is determined using eligible property area and the corresponding ownership shares.
     601 * Election results are determined after the election period has ended.
     602 * Notifications may only be sent by users with appropriate permissions.
     603 * Every submitted request must be assigned to the responsible building board.
     604 * Access to personal and building-related information must be restricted according to the user's role and responsibilities.
     605
     606
     607= Entity-Relationship Model History =
     608
     609==== Version 01 ====
     610
     611Initial conceptual database model covering residential buildings, entrances, properties, property ownership, user accounts, roles, building boards, meetings, elections, voting, notifications and requests. Brainstorming of our ideas.
     612
     613 * [attachment:ERModel_v01.xml Original XML source]
     614 * [attachment:ERModel_v01.png ER diagram]
     615
     616
     617==== Version 02 ====
     618
     619Simplified user management by integrating account and role information into the Person entity, restructured residency and election relationships, introduced weak entity modeling and added visual color coding. Not sufficient voting model.
     620
     621 * [attachment:ERModel_v02.xml Original XML source]
     622 * [attachment:ERModel_v02.png ER diagram]
     623
     624
     625==== Version 03 ====
     626
     627Restructured the election and voting model, introduced the Administrator specialization, refined board representation, notification distribution and request handling, and simplified several existing relationships and attributes.
     628
     629 * [attachment:ERModel_v03.xml Original XML source]
     630 * [attachment:ERModel_v03.png ER diagram]
     631
     632
     633==== Version 04 ====
     634
     635Extended the notification model by introducing the issues relationship between building boards and notifications.
     636
     637 * [attachment:ERModel_v04.xml Original XML source]
     638 * [attachment:ERModel_v04.png ER diagram]
     639
     640
     641==== Version 05 ====
     642
     643Introduced ownership shares, weighted voting and multivalued meeting topics, removed the issues relationship, completed the request submission relationship, added a primary key to Request and reorganized the diagram to improve visual readability.
     644
     645 * [attachment:ERModel_v05.xml Original XML source]
     646 * [attachment:ERModel_v05.png ER diagram]
     647
     648
     649----
     650
     651== AI Usage ==
     652
     653The documentation of artificial intelligence usage during the development and improvement of the conceptual database model is available on the following page:
     654
     655 * [wiki:ERModelAIUsage Entity-Relationship Model AI Usage]
     656
     657----
     658
     659'''[wiki:WikiStart ← Back to Home Page]'''