You are on page 1of 10

Vehicle Rental Service

Submitted by: (3BCom A)


Alisha Rukhsar: 20111004
Yukti Sharma: 20111040
Himanshi Sharma: 20111044
Ayushee Gupta: 20111045

Abstract
Vehicle Rental System is a platform that allows vehicle owners to display their vehicles which
are available to be rented. It is advantageous to those who are seeking to rent a vehicle. The
platform has a number of details so that the transactions that occur are legal and it ensures that
the car owners and clients have a seamless transaction flow. The platform along with its details
is shown in the form of an Entity-Relationship Model. We have designed or created a blueprint
of our Vehicle Rental Service database that can later be implemented as an actual database. It
clearly shows the relationships among our entity sets. There are a number of attributes that are
a part of these entities. An ER Model makes it easier to identify the Entities and their respective
attributes along with the relationship they hold with each other. Our Vehicle Rental Service has
a total of six entities with a varying number of attributes. The model when implemented as an
actual database can help the management to easily keep records of any number of customers.
The specific details can help anyone to identify any customer or vehicle. The model also helps in
recording the reviews of the customers. All in all, this ER Diagram is going to be helpful from
the moment the vehicle is rented to the moment it is returned.
Entity and Attributes

The above table shows the Entities and their respective attributes. We have a total of 6 entities namely:
1. CUSTOMER
2. VEHICLE
3. VEHICLE TYPE
4. BILLING DETAILS
5. BOOKING DETAILS
6. VEHICLE REVIEW
Attributes
The attribute which An attribute that
uniquely identifies each cannot be further
entity in the entity set is subdivided into
called key/unique components is a
attribute. simple attribute.

An attribute that can be split into components is a composite


attribute. An address can be further split into house number street
number, city, state. Name can be split into Middle Name,
Surname. Discount can be split into Discount code, Discount
percent
Attributes
The attribute which takes up more than a single
value for each entity instance is a multi-valued
attribute. Phone numbers can be of landline or
mobile. Email id can either be of work or personal.
Review can be negative or positive.

An attribute that can be derived from other


attributes is called a derived attribute. Like, age
can be derived from Date of Birth.
Relationship Identification
The entity CUSTOMER has a normal relationship with VEHICLE, BILLING DETAILS, and
VEHICLE REVIEW.
BILLING DETAILS also has a normal relationship with booking details.
VEHICLE has a weak entity relationship with vehicle type because it can not be identified
uniquely by it's attributes alone.

single line indicates a double lines indicate a


NORMAL ENTITY WEAK ENTITY
RELATIONSHIP RELATIONSHIP
Relationships with cardinality

From the problem statement, we know that,


A customer can rent one or more vehicles.
(One-to-Many cardinality)
A customer can only choose any type (model) of
that particular vehicle. (Many-to-Many
cardinality)
But, a customer can give one review about a
vehicle. (One-to-One cardinality) ERD Notation
Entity – Relationship Model
Thank You!

You might also like