0% found this document useful (0 votes)
11 views2 pages

Model

The document presents an EER diagram showing the relationships between various entities related to vehicle details, records, and service stations. The diagram includes entities such as vehicle details, vehicle type, vehicle brand, vehicle records, refilling type, and service station records along with their attributes and relationships.

Uploaded by

inuka5837
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

Model

The document presents an EER diagram showing the relationships between various entities related to vehicle details, records, and service stations. The diagram includes entities such as vehicle details, vehicle type, vehicle brand, vehicle records, refilling type, and service station records along with their attributes and relationships.

Uploaded by

inuka5837
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Wed Feb 21 15:04:51 2024, New Model - EER Diagram (part 1 of 2)

vehicle_details
vehicle_id INT

owner_nic VARCHAR(15)

registration_plates VARCHAR(10) vehicle_type refilling_type

model VARCHAR(45) id INT id INT

vehicle_type_vtype_id INT type VARCHAR(45) type VARCHAR(30)

vehicle_brand_id INT Indexes


Indexes PRIMARY
Indexes PRIMARY

PRIMARY
fk_vehicle_details_vehicle_type_idx
fk_vehicle_details_vehicle_brand1_idx

vehicle_records
id INT

cost_per_litter DOUBLE

number_of_litters INT

vehicle_brand refilling_point_address TEXT

id INT mileage INT

vbrand VARCHAR(45) refilling_type_id INT

Indexes Indexes
PRIMARY PRIMARY
fk_vehicle_records_refilling_type1_idx

vehicle_fuel_consumption_and_service_reminder
id INT

vehicle_details_vehicle_id INT

vehicle_records_id INT

service_station_record_id INT
Indexes
fk_vehicle_details_has_vehicle_records_vehicle_records1_idx
fk_vehicle_details_has_vehicle_records_vehicle_details1_idx
fk_vehicle_details_has_vehicle_records_service_station_reco_idx
PRIMARY

service_station_record
id INT
service_date DATE

recommend_service_date DATE

recommend_service_mileage INT

Indexes
PRIMARY

1 of 2
Wed Feb 21 15:04:51 2024, New Model - EER Diagram (part 2 of 2)

2 of 2

You might also like