Version 4 (modified by 7 months ago) ( diff ) | ,
---|
Логички и физички дизајн
Релациска шема (мапирачка трансформација)
- примарни клучеви: bold и underline
- Надворешни клучеви: bold и * до името на надворешниот клуч, во заграда табелата кон која покажува
Шема
Customer(customerId, registrationDate, firstName, lastName, email, password, role, phone, address, membershipLevel)
Reservation(reservationId, customerId*(Customer), paymentId*(Payment), menuId*(Menu), tableId*(Table), paymentStatus, partySize, reservationDateTime, specialRequests, status, checkInTime, checkOutTime)
Payment(paymentId, customerId*(Customer), totalPrice, date, reservationNumber)
Menu(menuId, restaurantId*(Restaurant),itemName, category, price, description, dietaryInformation)
Restaurant(restaurantId, name, address, cuisineType, phone, operatingHours, website, socialMediaLinks, rating)
Table(tableId, restaurantId*(Restaurant), capacity, location, isSmokingArea, description)
Attachments (6)
- dbeaverDijagram.jpg (81.4 KB ) - added by 6 months ago.
- final_er_norm.jpg (92.9 KB ) - added by 3 months ago.
- kreiranje.sql (2.8 KB ) - added by 3 months ago.
- polnenje.sql (1.2 KB ) - added by 3 months ago.
- finalDbeaverER.jpg (95.0 KB ) - added by 2 months ago.
- Validate preorder price trigger.txt (2.0 KB ) - added by 4 weeks ago.
Download all attachments as: .zip