Changes between Version 16 and Version 17 of konceptualenDizajnLogickiFizicki


Ignore:
Timestamp:
05/05/25 12:57:29 (3 weeks ago)
Author:
213209
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • konceptualenDizajnLogickiFizicki

    v16 v17  
    66
    77== Шема
    8 Customer('''__customerId__''', registrationDate, firstName, lastName, email, password, role, phone, address, membershipLevel)
     8User('''id''', firstName, lastName, email, password, role, phone, address, membershipLevel, registrationDate)
    99
    10 Reservation('''__reservationId__''', '''customerId'''*(Customer), '''paymentId'''*(Payment), '''menuId'''*(Menu), '''tableId'''*(Table), paymentStatus, partySize, reservationDateTime, specialRequests, status, checkInTime, checkOutTime)
     10Restaurant('''restaurantId''', name, address, cuisineType, phone, operatingHours, website, socialMediaLinks, rating)
    1111
    12 Payment('''__paymentId__''', '''__customerId__'''*(Customer), totalPrice, date, reservationNumber)
     12TableEntity('''tableId''', '''restaurantId'''*(Restaurant), capacity, location, isSmokingArea, description, reservationDurationHours)
    1313
    14 Menu('''__menuId__''', '''restaurantId'''*(Restaurant), category)
     14Menu('''menuId''', '''restaurantId'''*(Restaurant), itemName, category, price, description)
    1515
    16 Item('''__itemId__''', '''menuIditemName'''*(Menu), price, description, dietaryInformation)
     16MenuTag('''id''', '''menuId'''*(Menu), tagName, tagValue)
    1717
    18 Restaurant('''__restaurantId__''', name, address, cuisineType, phone, operatingHours, deposit, website, socialMediaLinks, rating)
     18Reservation('''reservationId''', '''userId'''(User), '''tableId'''(TableEntity), '''restaurantId'''*(Restaurant), reservationDateTime, partySize, specialRequests, status, checkInTime, checkOutTime, paymentStatus)
    1919
    20 Table('''__tableId__''', '''restaurantId'''*(Restaurant), capacity, location, isSmokingArea, description)
     20PreorderedItem('''id''', '''reservationId'''*(Reservation), name, quantity, price)
    2121
    22 item_reservtion_junction('''reservationId'''*(Reservation), '''itemId'''*(Item)
     22ReservationHistory('''id''', '''customerId'''(User), '''tableId'''(TableEntity), '''restaurantId'''*(Restaurant), reservationDateTime, partySize, specialRequests, status, cancellationReason, checkInDate)
    2323
    2424== DDL скрипта за бришење на табелите и креирање на табелите
     
    2828
    2929== Релациски дијаграм изведен од DBeaver
    30 [[Image(dbeaverDijagram.jpg​)]]
     30[[Image(final_er_norm.jpg​)]]