Professional Documents
Culture Documents
Bachelor of Engineering
In
Information Science & Engineering
Submitted by
Prajwal Y S 1AY21IS074
Preetham L K 1AY21IS077
2023-24
DEPARTMENT OF INFORMATION SCIENCE & ENGINEERING
ACHARYA INSTITUTE OF TECHNOLOGY
(AFFILIATED TO VISVESVARAYA TECHNOLOGICAL UNIVERSITY, BELAGAVI APPROVED BY AICTE, NEW DELHI, ACCREDITED
BY NAAC, NEW DELHI)
Acharya Dr. Sarvepalli Radhakrishnan Road, Soldevanahalli, Bengaluru-560107
Certificate
This is to Certify that the Database management system laboratory with Mini-Project
(21CSL55) work entitled “House Rental Management System” is a bonafide work carried
out by Prajwal Y S (1AY21IS074) and Preetham L K(1AY21IS077) in partial fulfillment
for the award of the degree of Bachelor of Engineering in Information Science and
Engineering of the Visvesvaraya Technological University, Belagavi during the year 2023-
24. It is certified that all corrections/suggestions indicated for Internal Assessment have been
incorporated in the Report deposited in the departmental library. The Project has been
approved as it satisfies the academic requirements in respect of Project work prescribed for the
Bachelor of Engineering Degree.
1.
2.
ACKNOWLEDGEMENT
The satisfaction that accompanies the successful completion of this mini-project would
be incomplete without the mention of the people who made it possible through constant
guidance and encouragement
We would take this opportunity to express gratitude to Sri. B. Premnath Reddy Chairman,
Acharya Institutes, Dr. Rajath Hegde M M, Principal, and Prof. C K Marigowda, Vice
Principal, Acharya Institute of Technology for providing the necessary infrastructure to
complete this mini-project
We wish to express our deepest gratitude and thanks to Prof Dr. Kala Venugopal, Head
of the Department, Information Science and Engineering.
A warm thanks to all the faculty of the Department of Information Science and
Engineering, who have helped us with their views and encouraging ideas.
Prajwal Y S(1AY21IS074)
Preetham L K (1AY21IS077)
i
ABSTRACT
The House Rental Management System (HRMS) offers a robust solution to address the
complexities of managing rental properties. By leveraging modern technology, HRMS
provides landlords, property managers, and tenants with a centralized platform for seamless
communication and efficient operation. This system encompasses features such as property
listing management, tenant screening tools, automated rent collection, maintenance request
tracking, and financial reporting capabilities. Through HRMS, landlords can optimize their
property management processes, reduce administrative overhead, and enhance tenant
satisfaction. Likewise, tenants benefit from convenient online services for rent payments,
maintenance requests, and communication with property owners. HRMS represents a
significant advancement in rental property management, revolutionizing the way rental
properties are managed and enhancing the overall experience for all stakeholders involved..
ii
TABLE OF CONTENTS
Acknowledgement i
Abstract ii
1. Introduction 1
1.1 Introduction to DBMS 1
1.1.1 Why DBMS? 2
1.1.2 Database applications 2
1.1.3 Advantages of DBMS 3
1.1.4 Components of DBMS 4
1.1.5 Three-Schema architecture 5
2. System Requirements 6
2.1 Hardware Requirements 6
2.2 Software Requirements 6
3. Design 7
3.1 ER Diagram 7
3.2 Schema Diagram 8
4. Implementation 9
4.1 Tables 9
4.1.1 PROPERTY 9
4.1.2 TENANT 10
4.1.3 LEASE 10
4.1.4 PAYMENT 11
4.1.5 MAINTAINENCE
5. Snapshots 12
6. Triggers 18
7.Conclusion & Future Enhancements 19
8.Bibliography 20
TABLE OF FIGURES
CHAPTER 1
INTRODUCTION
In today’s busy world it is difficult to find bookings for planes, hotels and get offers at
the same time.EasyGo is a site that helps people to book modes of transport and even the place
of stay, based on a roundtrip or one-way trip. Even cancel the booking and get exciting offers.
The main aim of a DBMS is to supply a way to store up and retrieve database
information that is both convenient and efficient. By data, we mean known facts that can be
recorded and that have embedded meaning. Normally people use software such as DBASE IV
or V, Microsoft ACCESS, or EXCEL to store data in the form of a database. A datum is a unit
of data. Meaningful data combined to form information. Hence, information is interpreted data
– data provided with semantics. MS. ACCESS is one of the most common examples of
database management software.
AIT/ISE/2023- 23 1
House rental management DBMS Mini-Project
● Education sector: Database systems are frequently used in schools and colleges to store
and retrieve the data regarding student details, staff details, course details, exam details,
payroll data, attendance details, fees details etc. There is a hell lot of interrelated data
that needs to be stored and retrieved efficiently.
● Online shopping: You must be aware of the online shopping websites such as Amazon,
Flipkart etc. These sites store the product information, your addresses and preferences,
credit details and provide you the relevant list of products based on your query. All this
involves a Database management system.
● Banking system: For storing customer info, tracking day to day credit and debit
transactions, generating bank statements etc. All this work has been done with the help
of Database management systems.
AIT/ISE/2023- 23 2
House rental management DBMS Mini-Project
● Data integrity and security: If data is accessed through the DBMS, the DBMS can
enforce integrity constraints on the data.
● Data administration: When several users share the data, integrating the administration
of data can offer major improvements. Experienced professionals understand the nature
of the data being managed and can be responsible for organizing the data representation
to reduce redundancy and make the data to retrieve efficiently.
● Providing backup and recovery: A DBMS must provide facilities for recovering from
hardware or software failures. The backup and recovery subsystem of the DBMS is
responsible for recovery.
● Permitting inferencing and actions using rules: Some database systems provide
capabilities for defining deduction rules for inferencing new information from the stored
database facts.
AIT/ISE/2023- 23 3
House rental management DBMS Mini-Project
● DBMS: Software that allows users to create and manipulate database access.
● Database access language: This is used to access the data to and from the database, to
enter new data, update existing data, or retrieve required data from databases. The user
writes a set of appropriate commands in a database access language, submits these to the
DBMS, which then processes the data and generates and displays a set of results into a
user readable form.
AIT/ISE/2023- 23 4
House rental management DBMS Mini-Project
The levels form a three-level architecture that includes an external, a conceptual, and an internal
level. The way users recognize the data is called the external level. The way the DBMS and the
operating system distinguish the data is the internal level, where the data is actually stored using
the data structures and file. The conceptual level offers both the mapping and the desired
independence between the external and internal levels.
AIT/ISE/2023- 23 5
House rental management DBMS Mini-Project
CHAPTER 2
SYSTEM REQUIREMENTS
AIT/ISE/2023- 23 6
House rental management DBMS Mini-Project
CHAPTER 3
DESIGN
3.1 ER Diagram
1: N
● Property to Tenant: One-to-Many relationship.
● One property can have multiple tenants.
● Property to Lease: One-to-Many relationship.
● One property can have multiple leases.
● Tenant to Lease: One-to-Many relationship.
● One tenant can have multiple leases.
● Lease to Payment: One-to-Many relationship.
● One lease can have multiple payments.
● Property to Maintenance: One-to-Many relationship.
● One property can have multiple maintenance requests.
AIT/ISE/2023- 23 7
House rental management DBMS Mini-Project
AIT/ISE/2023- 23 8
House rental management DBMS Mini-Project
CHAPTER 4
IMPLEMENTATION
4.1 Tables
4.1.1 PROPERTY
AIT/ISE/2023- 23 9
House rental management DBMS Mini-Project
4.1.2 TENANT
4.1.3 LEASE
AIT/ISE/2023- 23 10
House rental management DBMS Mini-Project
4.1.4 PAYMENT
4.1.5 MAINTAINENCE
AIT/ISE/2023- 23 11
House rental management DBMS Mini-Project
CHAPTER 5
SNAPSHOTS
Validators Given:
1. The given blanks can not be null.
2. Here also there is an option to for Sign Up if the User has not registered yet.
3. While creating a password the no. Of characters must be greater than 6.
4. To view his home page user must sign up or sign in.
5. A user will be able to sign in only when he has been registered.
6. After the completion of the Sign in and Sign up the user will be redirected to the home
or the index page .
AIT/ISE/2023- 23 12
House rental management DBMS Mini-Project
The above snapshot is seen as soon as the user logs in through this page he will start his Rent
finding journey
● User can select and search for Houses he wants.
● User can see messages that he has received.
● The user can also recommend new houses and give descriptions to the house that he is
recommending.
● The currently issued house and the date in which it was issued or returned.
● If the user has stayed any houses previously then it will be showed in the previously
stayed houses.
● If the user wants to log out he can click the navigation bar and click log out or he can
click the logout in the left side toggle bar.
Validators given:
1. The following page will not be rendered if the user is not successfully logged in .
AIT/ISE/2023- 23 13
House rental management DBMS Mini-Project
Validators given:
1. The following page will not be rendered if the user has not successfully logged in.
AIT/ISE/2023- 23 14
House rental management DBMS Mini-Project
Validators given
1. The following page will not render if the user has not successfully logged in .
2. The user can not submit an empty response with no title or description.
Validators given:
1. The following page will not be rendered if the user has not successfully logged in.
2. The user can not raise return request for the same house twice.
3. The user can raise a renewal request for a house that has crossed its due date.
AIT/ISE/2023- 23 15
House rental management DBMS Mini-Project
● Enabling a search bar within the messages page allows users to quickly find specific
messages based on keywords or sender names.
● Displaying messages in threaded conversations helps users track the context of their
conversations with the admin more efficiently.
AIT/ISE/2023- 23 16
House rental management DBMS Mini-Project
AIT/ISE/2023- 23 17
House rental management DBMS Mini-Project
TRIGGERS
Trigger for the records table.
CREATE TRIGGER update_house_status AFTER INSERT ON invoices
FOR EACH ROW
BEGIN
DECLARE house_rent INT;
DECLARE invoice_total INT;
-- Get the rent of the associated house
SELECT rent INTO house_rent FROM houses WHERE id = NEW.house;
-- Get the total amount of the inserted invoice
SELECT total INTO invoice_total FROM invoices WHERE id = NEW.id;
-- Update the status of the associated house based on the invoice total
IF invoice_total > house_rent THEN
UPDATE houses SET status = 'unpaid' WHERE id = NEW.house;
ELSE
UPDATE houses SET status = 'paid' WHERE id = NEW.house;
END IF;
END
PROCEDURES
CREATE PROCEDURE get_unpaid_invoices(IN tenant_id INT)
BEGIN
SELECT * FROM invoices WHERE tenant = tenant_id AND status = 'unpaid';
END//
AIT/ISE/2023- 23 18
House rental management DBMS Mini-Project
Future Enhancement
For a rental management system Future enhancements could include:
Predictive Maintenance implement predictive maintenance capabilities using IoT sensors and
data analytics to anticipate equipment failures and schedule maintenance proactively, reducing
downtime and enhancing tenant satisfaction.
AI-Powered Chatbots integrate AI-powered chatbots to provide instant responses to tenant
inquiries, handle routine maintenance requests, and streamline communication between tenants
and property managers,Smart Home Integration enable integration with smart home devices to
offer tenants features such as remote access control, energy management, and security
monitoring, enhancing the overall living experience and attracting tech-savvy renters
AIT/ISE/2023- 23 19
House rental management DBMS Mini-Project
BIBLIOGRAPHY
Web References
1. https://www.w3schools.in/dbms/intro/
2. https://www.youtube.com/
3. https://getbootstrap.com/
4. https://developer.mozilla.org/en-US/
5. https://www.erdplus.com/
6. https://www.google.com/
7. Https://mysql.com/
Book References
1. Fundamentals of Database Systems, RamezElmasri and Shamkant B. Navathe, 7th Edition,
2017, Pearson
AIT/ISE/2023- 23 20