Changes between Version 11 and Version 12 of konceptualenDizajn
- Timestamp:
- 12/16/24 15:51:40 (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
konceptualenDizajn
v11 v12 5 5 == Ентитети 6 6 7 '''Entity: Customer'''7 * '''Entity: Customer''' 8 8 9 9 Description: Represents a customer who can make reservations. … … 11 11 Attributes: 12 12 13 '''Entity: Restaurant'''13 * '''Entity: Restaurant''' 14 14 15 15 Description: Represents a restaurant, which contains menus and tables. … … 17 17 Attributes: 18 18 19 '''Entity: Menu'''19 * '''Entity: Menu''' 20 20 21 21 Description: Represents the menu associated with a restaurant. … … 23 23 Attributes: 24 24 25 '''Entity: Table'''25 * '''Entity: Table''' 26 26 27 27 Description: Represents a table in a restaurant that can be reserved. … … 29 29 Attributes: 30 30 31 '''Entity: Reservation'''31 * '''Entity: Reservation''' 32 32 33 33 Description: Represents a reservation made by a customer. … … 35 35 Attributes: 36 36 37 '''Entity: Payment'''37 * '''Entity: Payment''' 38 38 Description: A weak entity describing the process of paying the reservation. 39 39 Partial Key: paymentId - Artificial ID for the payment. … … 42 42 reservation_nr: Number of reservation paid. 43 43 total_price: Derived attribute. 44 45 == Релации 46 47 * Relationship: has 48 49 Description: A 1:N relationship between Restaurant and Menu. 50 Details: 51 A restaurant can have multiple menus. 52 A menu belongs to one restaurant. 53 Relationship: contains 54 55 Description: A 1:N relationship between Restaurant and Table. 56 Details: 57 A restaurant contains multiple tables. 58 A table belongs to one restaurant. 59 Relationship: makes 60 61 Description: A 1:N relationship between Customer and Reservation. 62 Details: 63 A customer can make multiple reservations. 64 A reservation is made by one customer. 65 Relationship: none specified for Table to Reservation 66 67 Details: There seems to be no direct relationship linking tables to reservations, though it might be implicit.