0% found this document useful (0 votes)
2 views

ERD Booking

The document outlines a database schema related to student housing, detailing various entities such as Regions, Governments, Students, Colleges, Apartments, Rooms, and Beds. It includes relationships between these entities, such as foreign keys linking students to colleges and apartments. Additionally, it specifies attributes for images associated with colleges and booking information for rooms.

Uploaded by

jongin kai
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)
2 views

ERD Booking

The document outlines a database schema related to student housing, detailing various entities such as Regions, Governments, Students, Colleges, Apartments, Rooms, and Beds. It includes relationships between these entities, such as foreign keys linking students to colleges and apartments. Additionally, it specifies attributes for images associated with colleges and booking information for rooms.

Uploaded by

jongin kai
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/ 1

Region

Government

Gover_Id Region_Id
Name

Owner

Student-Id

College-Id --FK

Appartment

Student
Apprartment_Id

Owner_Id --FK
Region_Id --FK
Student-Id

College-Id --FK
Region_Id --FK

Colleges Images

Id
Booking

Rooms
College_Id Entity_Id
Entity_Type
Image_Path
Book_Id IsPrimary (main_Image)
Room-Id Uploaded_Date

Student_Id -- FK Appart-Id --FK

Appart_Id --Fk( nullable )


Room_Id --Fk( nullable )
Bed_Id --Fk( nullable )

Bed

Bed-Id

Room-Id --FK

You might also like