Answered step by step
Verified Expert Solution
Question
1 Approved Answer
User: Represents all users of the CityWheelsBH app, including both drivers and passengers.Attributes: UserID ( Primary Key ) , Name, ContactNumber, Email, UserType ( Driver
User: Represents all users of the CityWheelsBH app, including both drivers and passengers.Attributes: UserID Primary Key Name, ContactNumber, Email, UserType DriverPassenger RatingDriver: Represents individuals who offer rides through the CityWheelsBH app.Attributes: DriverID Primary Key UserID Foreign Key referencing User.UserID LicenseNumber, InsuranceDetailsVehicle: Represents the vehicles available for rides.Attributes: VehicleID Primary Key DriverID Foreign Key referencing Driver.DriverID Make, Model, Year, LicensePlate, AvailabilityRide: Represents each individual ride requested by a passenger and completed by a driver.Attributes: RideID Primary Key PassengerID Foreign Key referencing User.UserID DriverID Foreign Key referencing Driver.DriverID VehicleID Foreign Key referencing Vehicle.VehicleID StartLocation, EndLocation, StartTime, EndTime, FarePayment: Represents the payments made for each ride.Attributes: PaymentID Primary Key RideID Foreign Key referencing Ride.RideID Amount, PaymentMethod, PaymentStatusFeedback: Represents the feedback left by users after each ride.Attributes: FeedbackID Primary Key RideID Foreign Key referencing Ride.RideID Rating, CommentPromotion: Represents the promotional offers and discounts provided by CityWheelsBH.Attributes: PromoID Primary Key PromoCode, DiscountPercentage, ExpiryDateSupportRequest: Represents the support requests raised by users.Attributes: RequestID Primary Key UserID Foreign Key referencing User.UserID IssueDescription, StatusMaintenanceRecord: Represents the maintenance records for each vehicle.Attributes: MaintenanceID Primary Key VehicleID Foreign Key referencing Vehicle.VehicleID MaintenanceDate, DescriptionBookingRequirement: Represents the additional requirements for a ride, such as child seats.Attributes: RequirementID Primary Key RideID Foreign Key referencing Ride.RideID RequirementType, QuantityRelationships:UserFeedback: One user can provide feedback for many rides. :NUserPayment: One user can make many payments for different rides. :NUserSupportRequest: One user can submit multiple support requests. :NDriverVehicle: One driver can have multiple vehicles. :NDriverRide: One driver can complete multiple rides. :NVehicleRide: One vehicle can be used for multiple rides. :NRideFeedback: One ride can receive feedback from one passenger. :RidePayment: One ride can have one payment. :RideBookingRequirement: One ride can have multiple booking requirements. :NPromotionRide: One promotion can be used for multiple rides. M:N
Create an erd diagram
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started