Sunteți pe pagina 1din 7

HOSTEL MANAGEMENT SYSTEM

PROBLEM STATEMENT: Consider given Hostel o Management system which is managing the different activity like mess management, student complain, room allotment and maintaining student record. Hostel has 4 floors and on each floor it has 4 rooms. Total 16 rooms are there. There is one mess also. Hostel manager is managing all these activities. Whenever any student comes with request of room Manager will check if any room is available or not? If room is available then manager will assign available room to student. Student from any branch and any college is allowed to stay in hostel. Fee structure for hostel is each student has to pay the fee in advance for 6 months. In this fee mess charges are not considered. For mess, student has to pay another fee and that is at the end of the month. Hostel manager is also doing this billing activity. Mess inventory is also manages by manager. If not enough stock in mess for food then manager will place an order for stock to the vendor. Students complains are also recorded regarding hostel. Manager will try to solve it.

USE CASE DIAGRAM

room request *

-End3 check room availability *

* -End5 allot room -End4 -End1 * * * * ** * -End6 -End7

-End2

student hostel manager * generate mess bill *

pay bill *

pay fees *

manage inventory *

CLASS DIAGRAM

STUDENT HOSTEL +hoetelname : string +location : string -total_room : int -room_status : bool +checkroomavailability() : int 1 1 * +stu_name : string -stu_college : string -stu_perm_addr : string -stu_phno : string -yr_college : int -room_no : int

1 ROOM -room_no : int -floor : int -room_status : int * * * *

* 1

* MANAGER -name : string -address : string -ph_no : decimal +checkroomavailabilities() : int +manageinventory() : void +complainsolving() : void +roomallotment() : void +managestudentrecord() : void 1 INVENTORY -item_name : string -item_stock : decimal -item_used : decimal -reoeder_item : decimal -received_item : decimal +manageinventory() : void

1 * 1 * * * * COMPLAIN -complain_type : string -complain_no : decimal -status : bool -

MESSBILL -stu_name : string -stu_phno : int -bill_amount : float -bill_status : bool

SEQUENCE DIAGRAM

student

hostel manager

room

room request check room status status of room allot room

pay advance fee

pay fees

complains

pay mess bill

bill payment

COLLABORATION DIAGRAM

hostel manager student

1: room request 4: allot room 5: payadvancefee 6: payfees 7: complains 8: solvecomplain 9: pay messvbill 10: bill payment

2: check room status 3: statusofroom

room

ACTIVITY DIAGRAM STUDENT HOSTEL MANAGER

requesting for room

checking room status

alloting room

paying fees

asking for adv.fee

receiving fees

bill payment

asking for mess bill

receiving mess bill

COMPONENT DIAGRAM

MANAGER ROOM REQUEST

STUDENT

ROOM

DEPLOYMENT DIAGRAM

Owner

Application DBMS

Owner's Application

Database

S-ar putea să vă placă și