You are on page 1of 10

Design Document

Table Design
There are 7 tables namely:
1.
2.
3.
4.
5.
6.
7.

table_area Stores area details.


table_entry- Stores the booking details.
table_repeat- used as a backup of the above table.
table_room Stores room details.
table_users Stores user informationand access levels (User/Admin)
table_variables Stores database version
table_zoneinfo Stores the zone information used eg.Asia/Kolkata

Table structure for table (table_area)


Column
Id
Disabled
area_name
Timezone
area_admin_email
Resolution
default_duration
default_duration_all_day
Morningstarts
morningstarts_minutes
Eveningends
eveningends_minutes
private_enabled
private_default
private_mandatory
private_override
min_book_ahead_enabled
min_book_ahead_secs
max_book_ahead_enabled
max_book_ahead_secs
max_per_day_enabled
max_per_day
max_per_week_enabled
max_per_week
max_per_month_enabled
max_per_month
max_per_year_enabled

Type
int(11)
tinyint(1)
varchar(30)
varchar(50)
text
int(11)
int(11)
tinyint(1)
int(11)
int(11)
int(11)
int(11)
tinyint(1)
tinyint(1)
tinyint(1)
varchar(32)
tinyint(1)
int(11)
tinyint(1)
int(11)
tinyint(1)
int(11)
tinyint(1)
int(11)
tinyint(1)
int(11)
tinyint(1)

Null
No
No
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No

Default
0
NULL
NULL
NULL
NULL
NULL
0
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
0
0
0
0
0
0
0

Design Document
max_per_year
max_per_future_enabled
max_per_future
custom_html
approval_enabled
reminders_enabled
enable_periods
confirmation_enabled
confirmed_default
invoice_no

int(11)
tinyint(1)
int(11)
Text
tinyint(1)
tinyint(1)
tinyint(1)
tinyint(1)
tinyint(1)
int(6)

No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
No

Table structure for table (table_entry)


Column
id
start_time
end_time
entry_type
repeat_id
room_id
timestamp
create_by
name
type
description
status
reminded
info_time
info_user
info_text
ical_uid
ical_sequence
ical_recur_id
invoice_no
bill_date
bill_rent
bill_discount
bill_total

Type
int(11)
int(11)
int(11)
int(11)
int(11)
int(11)
Timestamp
varchar(80)
varchar(80)
char(1)
Text
tinyint(3)
int(11)
int(11)
varchar(80)
Text
varchar(255)
smallint(6)
varchar(16)
int(6)
varchar(15)
int(5)
int(2)
int(10)

Null
No
No
No
No
No
No
No
No
No
No
Yes
No
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
No

Default
0
0
0
0
1
CURRENT_TIMESTAMP

E
NULL
0
NULL
NULL
NULL
NULL
0

0
0
0
NULL
NULL
NULL
NULL
NULL
NULL

Design Document
canteen_items
service_tax

varchar(5000)
float(8,2)

No
No

Table structure for table (table_repeat)


Column
id
start_time
end_time
rep_type
end_date
rep_opt
room_id
timestamp
create_by
name
type
description
rep_num_weeks
status
reminded
info_time
info_user
info_text
ical_uid
ical_sequence
invoice_no
bill_date
bill_rent
bill_discount
bill_total
canteen_items
service_tax

Type
int(11)
int(11)
int(11)
int(11)
int(11)
varchar(32)
int(11)
timestamp
varchar(80)
varchar(80)
char(1)
Text
smallint(6)
tinyint(3)
int(11)
int(11)
varchar(80)
Text
varchar(255)
smallint(6)
int(6)
varchar(15)
int(6)
int(2)
int(10)
varchar(5000)
float(8,2)

Null
No
No
No
No
No
No
No
No
No
No
No
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No

Default
0
0
0
0
1
CURRENT_TIMESTAMP

E
NULL
NULL
0
NULL
NULL
NULL
NULL
0

Table structure for table (table_room)


Column
Id
disabled
area_id
room_name
sort_key

Type
int(11)
tinyint(1)
int(11)
varchar(25)
varchar(25)

Null
No
No
No
No
No

Default
0
0

Design Document
description
capacity
room_admin_email
custom_html

varchar(60)
int(11)
Text
Text

Yes
No
Yes
Yes

NULL
0
NULL
NULL

Table structure for table table_users


Column
Id
level
name
password
email
area_id

Type
int(11)
smallint(6)
varchar(30)
varchar(40)
varchar(75)
int(2)

Null
No
No
Yes
Yes
Yes
No

Default
0
NULL
NULL
NULL

Table structure for table table_variables


Column
Id
variable_name
variable_content

Type
int(11)
varchar(80)
Text

Null
No
Yes
Yes

Default
NULL
NULL

Table structure for table table_zoneinfo


Column
Id
timezone
outlook_compatible
vtimezone
last_updated

Type
int(11)
varchar(255)
tinyint(3)
Text
int(11)

Null
No
No
No
Yes
No

Default

0
NULL
0

Design Document

User Interface Design


The Primary view of the system:-

The Student specific time table (Daily and Weekly)

Design Document
Time Table View for the respective teachers :-

The View for the coordinator Adding or Removing Entries

The Administrator View

Design Document
Managing users

Managing Rooms and Floors

Program Design

System Framework (Time Table


Management System)

Design Document

USERS

APPLICATION INTERFACE

1. User This layer consists of all the users that will interact with the system.
These users include the students, teachers, coordinators and the
administrators of the software. The Users interact with the application user
interface and manage the entire time table system.

DATABASE

2. Application Layer This layer comprises of the user interface with which
the users interact, as well as the important resources required to help
process the request and store the necessary data into the database.
3. Database The database consists of all the important data relevant to the
interacting users of this system. The user entries are stored in the respective
tables in the database and are retrieved whenever required.

Design Document

Design Documentation
SYSTEM

VIEW TIME TABLE

Student

VIEW TIME TABLE

REQUEST FOR ADDING ENTRIES

Faculty
ADD ENTRIES

VIEW TIME TABLE

Design Document

Coordinator

APPROVE/CANCEL ENRTY REQUEST

SEND MAILS TO FACULTY/STUDENTS

You might also like