SCST1143 Database Engineering Project

Micro:bit IoT
Loan Management
System

A comprehensive relational database solution for automating the borrowing lifecycle of IoT devices within academic institutions. Built with MySQL, normalized to BCNF.

Student
student_id
matric_no
full_name
status
Device
device_id
model_id
serial_no
condition
Loan
loan_id
student_id
loaned_at
status
DeviceModel
model_id
model_name
max_loan_days
Reservation
reservation_id
student_id
priority
status
LoanItem
loan_item_id
loan_id
device_id
fine_amount

Powerful Features

Everything you need to manage IoT device lending operations efficiently and reliably.

📦

Inventory Management

Real-time tracking of all devices, models, and their physical condition with location mapping.

🔄

Loan Automation

Streamlined loan processing with automatic due date tracking, overdue detection, and fine calculation.

📅

Reservation System

Priority-based reservation queue allowing students to book specific device models in advance.

🔧

Maintenance Tracking

Schedule and monitor maintenance windows to ensure damaged devices are not loaned out.

👥

Role-Based Access

Four distinct user roles with granular permissions: Admin, Librarian, Assistant, and Student.

📊

Comprehensive Reporting

Generate detailed reports on loans, fines, popular devices, and overall system statistics.

Database Schema

11 normalized tables following Third Normal Form (3NF) and BCNF for optimal data integrity.

Student
student_idINT PK
matric_noVARCHAR(20)
full_nameVARCHAR(100)
emailVARCHAR(120)
statusENUM
Staff
staff_idINT PK
staff_noVARCHAR(20)
full_nameVARCHAR(100)
roleENUM
DeviceModel
model_idINT PK
model_nameVARCHAR(80)
manufacturerVARCHAR(80)
max_loan_daysINT
Device
device_idINT PK
model_idINT FK
serial_noVARCHAR(60)
conditionENUM
location_idINT FK
Loan
loan_idBIGINT PK
student_idINT FK
approved_by_staff_idINT FK
due_atDATETIME
statusENUM
LoanItem
loan_item_idBIGINT PK
loan_idBIGINT FK
device_idINT FK
fine_amountDECIMAL
Reservation
reservation_idINT PK
student_idINT FK
model_idINT FK
priorityINT
Maintenance
maintenance_idINT PK
device_idINT FK
maint_startDATETIME
statusENUM

Meet The Team

The brilliant minds behind the Laksa project.

Md Maheyan Islam

Md Maheyan Islam

A25MJ4015

Team Lead

Md Foysal

Md Foysal

A25MJ4014

Database Designer

Mahmudul Hoque Sharif

Mahmudul Hoque Sharif

A25MJ4012

SQL Developer

Faiaz Nazeef

Faiaz Nazeef

A25MJ4009

Documentation

Md Mridul Hasan Emon

Md Mridul Hasan Emon

A25MJ4016

Testing & QA

Technology Stack

🐬
MySQL 8.0+
🔧
MySQL Workbench
📊
InnoDB Engine
🔐
3NF/BCNF
Indexed Queries