Changes between Version 2 and Version 3 of ER-Diagram
- Timestamp:
- 12/29/24 18:41:31 (2 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ER-Diagram
v2 v3 15 15 - Password - varchar 16 16 - Phone number - varchar 17 - Date Joined - datetime17 - Date Joined - datetime 18 18 19 19 **2. Flight** - Ентитет за лет.\\ 20 20 21 21 - FlightID - примарен клуч, int 22 - Flight Number - varchar23 - Departure Airport - varchar24 - Arrival Airport - varchar25 - Departure Time - datetime26 - Arrival Time - datetime22 - Flight Number - varchar 23 - Departure Airport - varchar 24 - Arrival Airport - varchar 25 - Departure Time - datetime 26 - Arrival Time - datetime 27 27 - Duration - time 28 28 - Price - decimal(10,2) 29 - Available Seats - int \\29 - Available Seats - int \\ 30 30 31 31 **3. Booking** - Ентитет за листата на резервирани летови за корисникот.\\ … … 34 34 - UserID - foreign key, int 35 35 - FlightID - foreign key, int 36 - Booking Date - datetime37 - Payment Status - enum('Pending','Completed', 'Cancelled')38 - Total Cost - decimal(10,2)39 - Seat Number - int\\36 - Booking Date - datetime 37 - Payment Status - enum('Pending','Completed', 'Cancelled') 38 - Total Cost - decimal(10,2) 39 - Seat Number - int\\ 40 40 41 41 **4. Destination** - Ентитет за дестинација.\\ … … 45 45 - Country - varchar 46 46 - Description - text 47 - Popular Attraction - text48 - Best TimeToVisit - varchar\\47 - Popular Attraction - text 48 - Best Time To Visit - varchar\\ 49 49 50 50 … … 54 54 - UserID - foreign key, int, 55 55 - TargetID - foreign key, int (може да биде FlightID или DestinationID) 56 - Review Comment - text56 - Review Comment - text 57 57 - Rating - decimal(2,1) 58 58 - Date - datetime … … 73 73 - Payment method - enum('Credit Card','Debit card', 'PayPal') 74 74 - Amount - decimal(10,2) 75 - Transaction Date - datetime76 - Payment Status - enum('Success', 'Failed', 'Processing')\\75 - Transaction Date - datetime 76 - Payment Status - enum('Success', 'Failed', 'Processing')\\ 77 77 78 78 **8. Notification** - Ентитет за известувања.\\ … … 82 82 - Message - text 83 83 - Type - enum('Booking Confirmation', 'Flight Delay', 'General Update') 84 - Date Sent - datetime\\84 - Date Sent - datetime\\ 85 85 86 86 **9. Wishlist** - Ентитет за листа со посакувани дестинации.\\ … … 89 89 - UserID - foreign key, int 90 90 - TargetID - foreign key, int (може да биде FlightID или DestinationID) 91 - Date Added - datetime \\91 - Date Added - datetime \\ 92 92 93 93 … … 97 97 98 98 99 **11. Support Ticket** - Ентитет за тикети за поддршка.\\99 **11. Support Ticket** - Ентитет за тикети за поддршка.\\ 100 100 101 101 - TicketID- примарен клуч, int … … 104 104 - Description - text 105 105 - Status - enum('Open', 'In Progress', 'Resolved') 106 - Date Created - datetime107 - Date Resolved - datetime (nullable)108 - Assigned To - foreign key, int\\106 - Date Created - datetime 107 - Date Resolved - datetime (nullable) 108 - Assigned To - foreign key, int\\ 109 109 110 110