Skip to content

Domain Model

Carlos Castillo edited this page Mar 28, 2025 · 1 revision

Entities and Relationships

  1. User
  • Attributes userID, name, email, password
  • Relationships:
    • can create multiple itineraries can track Budget and Bookings
  1. Itnerary
  • Attributes: itineraryID, title, startDate, endDate, budget
  • Relationships:
    • Belongs to a User
    • Contains multiple Destinations
  1. Destination
  • Attributes: destinationID, name, country, order
  • Relationships:
    • Belongs to an Itinerary
    • Contains multiple Activities
  1. Activity
  • Attributes: activityID. name, type, cost
  • Relationships:
    • Belongs to a Destination
  1. Budget
  • Attributes: budgetID, totalAmount, remainingAmount
  • Relationships:
    • Belongs to an Itinerary
    • Tracks Expenses categorized as flights, hotels, food etc.
  1. Booking
  • Attributes: bookingID, type, cost, date, details
  • Relationships:
    • Belongs to an Itinerary
    • Linked to Budget for expense tracking
  1. Sync System (Non-functional requirement)
  • Ensures data synchronization across devices

Clone this wiki locally