You are on page 1of 12

120

3.3.2.2 Data Dictionary


Table 3.0 Client Data Dictionary
CLIENT
CONSTRAINT
S
Primary Key,
Not Null

FIELD NAME

DATA TYPE

Client_Num

Char(15)

Client_Lname

Varchar(45)

Not Null

Client_Fname

Varchar(45)

Not Null

Status

Varchar(8)

Client_Type

Enum(student
,outside
client)

DESCRIPTION

EXAMPLE

Identifier number
of the client

2013-00002-SR-0

Last name of the


client
First name of the
client

MARK MERVIN

Default

Client Status

active

Not Null

Type of Client

student

MANIGBAS

Password

Varchar(255)

Null

Password of the
client

Jfo2iwHpWr94jLjQ
Pidg10Fssmlwo5H
gaL9IR3vcZsl2Sa
kfFnvmeWG
vsakD

Email

Varchar(45)

Not Null

Email of the
client

charmaine.salapar
e@yahoo.com

Table 3.1 Transaction Data Dictionary


TRANSACTION
FIELD NAME

DATA
TYPE

Transaction_ID

Int(7)

CONSTRAINT
S
Primary Key,
Not Null,
Auto_Increme
nt

Transaction_Detail_I
D

Int(7)

Foreign Key,
Not Null

Client_Num

Char(15)

Foreign Key,
Not Null

Status

Varchar(8)

Default

DESCRIPTION

EXAMPLE

ID number of
transaction

17

ID number of
transaction
detail
Identifier
number of the
client
Transaction
Status

1
2015-00571-SR0
active

121

Table 3.2 Transaction Detail Data Dictionary


TRANSACTION_DETAIL
FIELD NAME

DATA TYPE

CONSTRAINTS

DESCRIPTION

EXAMPLE

Transaction_Detail_ID

Int(7)

Primary Key,
Not Null,
Auto_Increment

ID number of
transaction
detail

Transaction_Name

Varchar(45)

Not Null

Name of
transaction

Miscellaneous

Department_ID

Int(7)

Foreign Key,
Not Null

ID number of
department

Serve_Interval

Int(5)

Default

Interval of
Service Time

180

Status

Varchar(8)

Default

Transaction
Detail Status

active

Table 3.3 Department Data Dictionary


DEPARTMENT
FIELD NAME

DATA TYPE

CONSTRAINTS

DESCRIPTION

EXAMPLE

Department_ID

Int(7)

Primary Key,
Not Null,
Auto_Increment

ID number of
Department

Department_Name

Varchar(45)

Not Null

Name of
Department

Accounting and
Cashier

CutOff

Int(4)

Null

Cut off number

3139

Status

Varchar(8)

Default

Department Status

active

122

Table 3.4 Queue Data Dictionary


QUEUE
FIELD NAME

DATA TYPE

CONSTRAINTS

DESCRIPTION

EXAMPLE

Queue_ID

Int(7)

Primary Key,
Not Null,
Auto_Increment

ID number of
queue

Queue_No

SmallInt(4)

Not Null

Queue number

1001

Staff_ID

Char(15)

ID number of Staff

08091

Transaction_ID

Int(7)

ID number of
transaction

37

Status

Varchar(8)

Queue Status

inactive

Foreign Key,
Not Null
Foreign Key,
Not Null
Default

Table 3.5 User Data Dictionary


USER
FIELD
NAME

DATA TYPE

CONSTRAINT
S

DESCRIPTION

EXAMPLE

User_ID

TinyInt(2)

Primary Key,
Not Null,
Auto_Increment

ID number of the user

28

Username

Varchar(45)

Not Null

Username of the user

leny

Password

Varchar (45)

Not Null

Password of the user

leny

User_Lname

Varchar(45)

Not Null

Last name of the user

Salmingo

User_Fname

Varchar(45)

Not Null

First name of the user

Leny

Status

Varchar(8)

Default

User Status

active

123

Table 3.6 Staff Data Dictionary


STAFF
FIELD NAME

DATA TYPE

CONSTRAINTS

DESCRIPTION

EXAMPLE

Staff_ID

Char(15)

Primary Key,
Not Null

ID number of staff

08091

User_ID

TinyInt(2)

Foreign Key,
Not Null

ID number of the
user

28

Department_ID

Int(7)

Foreign Key,
Not Null

ID number of
Department

Table 3.7 Admin Data Dictionary


ADMIN
FIELD NAME

DATA TYPE

CONSTRAINTS

DESCRIPTION

EXAMPLE

Admin_ID

Char(15)

Primary Key,
Not Null

ID number of the
admin

08081

User_ID

TInyInt(2)

Foreign Key,
Not Null

ID number of the
user

30

Table 3.8 Report Data Dictionary


REPORT
FIELD NAME

DATA TYPE

Report_ID

Int(5)

Title

Varchar(200)

Date
Admin_ID

CONSTRAINTS
Primary Key,
Not Null,
Unsigned,
Zerofill,
Auto_Increment

DESCRIPTION

EXAMPLE

ID number of
report

00001

Not Null

Title of the
report

Monthly Report of All


Departments

Varchar(45)

Not Null

Date of the
report

September 09, 2016

Char(15)

Foreign Key
Not Null

ID number of
admin

08081

124

Table 3.9 Report Detail Data Dictionary


REPORT_DETAIL
FIELD NAME

DATA
TYPE

CONSTRAINTS
Primary Key,
Not Null,
Unsigned,
Zerofill,
Auto_Increment
Foreign Key, Not
Null, Unsigned,
Zerofill,
Auto_Increment

DESCRIPTIO
N

EXAMPLE

ID number of
report_detail

0000001

Report_Detail_I
D

Int(7)

Report_ID

Int(5)

Name1

Varchar(45)

Null

Report title

June (Jun 01-Jul


01)

Name2

Varchar(45)

Null

Subtitle

June (Jun 01-Jul


01)

Student

Double

Null

Outside Client

Double

Null

ID number of
report

Number of
students
Number of
Outside Client

Table 3.10 System Log Data Dictionary

00001

123
0

125

SYSTEM_LOG
FIELD
NAME

DATA TYPE

Log_ID

Int(7)

Queue_ID

Int(7)

Start_Time

Time

Start_Date

End_Time

Date

Time

CONSTRAINT
S
Primary Key,
Not Null,
Auto_Increment

DESCRIPTION

EXAMPLE

ID number of log

Foreign Key,
Not Null

ID number of queue

Null

Time when the student


registers to get queue
number

Null

Date when the student


registers to get queue
number

Null

The time wherein the


processing of the
service has been
completed
The date wherein the
processing of the
service has been
completed

End_Date

Date

Null

Est_Time

Varchar(15)

Null

The time wherein the


client will be served

Skip

Enum(yes,no
)

Default

Skip confirmation

Int(5)

Null

Int(5)

Null

Varchar(45)

Default

Waiting_Tim
e
Service_Tim
e
Status

Waiting time of the


client
Service time of the
client
Student Log Status

09:01:00

2016-0613

09:02:00

2016-0613
12:09
no

180
180
active

126

PASSWORD_RESET
CONSTRAINT
S
Primary Key,
Not Null,
Auto_Incremen
t

DESCRIPTIO
N

EXAMPLE

ID number of
reset

FIELD NAME

DATA TYPE

Reset_ID

Int(5)

Email

Varchar(45)

Not Null

Email of the
client

Token

Varchar(200)

Null

Token

CreatedAt

Date

Null

Date created

Table 3.11 Password_Reset Data Dictionary

Table 3.12 Announcement Data Dictionary

sarmi@yahoo.com
bfebf3560d963560
111a84d2645791a
4
June (Jun 01-Jul
01)

127

ANNOUNCEMENT
FIELD NAME

DATA TYPE

Announcement_ID

Int(7)

Announcement_Title

Announcement_Des
c

TinyText

Text

CONSTRAINT
S
Primary Key,
Not Null, Auto
Increment

Null

DESCRIPTIO
N
ID number of
the
announcement

EXAMPLE
10

Application for
Resident
Title of the
Scholarship this
Announcement First Semester
is Extended
until June 4,
2015.
PUPSRC
extends the
application for
resident
scholarship this
first semester
SY 2015-2016
until June 4,
2015.

Null

Description of
the
announcement

2016-08-08
12:59:00

Announcement_Date

DateTime

Not Null

Date and Time


of the
announcement

User_ID

TinyInt(2)

Foreign Key,
Null

ID number of
user

28

Announcement_Type

'Information
Broadcast','
Bulletin
Board','Des
ktop'

Not Null

Type of
announcement

Desktop

Status

Varchar(8)

Default

Announcement
Status

Table 3.13 Event Data Dictionary

active

128

EVENT
FIELD
NAME

DATA TYPE

CONSTRAINT
S

DESCRIPTION

EXAMPLE

Event_ID

Int(7)

Primary Key,
Not Null,
Auto_Increment

ID number of
event

23

Event_Title

TinyText

Null

Title of the
event

Buwan ng Wika
2016
The PUPSRC
celebrated last
August 18, 2016
Buwan ng Wika
Themed "Wikang
Pilipino, Wikang
Pambansa"

Event_Desc

Text

Null

Content of the
event

Event_Date

DateTime

Not Null

When the event


was posted

Event_Start

DateTime

Not Null

Start date of
the event

2016-08-08
10:00:00

Event_End

DateTime

Null

End date of the


event

2016-08-10
12:00:00

Event_Type

Enum(Alumni
Homecoming /
Reunions,
University
Event)

Null

Type of event

University Event

Image

Varchar(100)

Null

Event image

Dream.jpg

Admin_ID

Char(15)

Foreign Key,
Null

ID number of
the admin

08082

Status

Varchar(8)

Default

Event status

active

2016-08-06
12:59:00

129

Table 3.14 News Data Dictionary


NEWS
FIELD NAME

DATA TYPE

News_ID

Int(7)

News_Title

TinyText

CONSTRAINT
S
Primary Key,
Not Null,
Auto_Increment
Null

DESCRIPTION

EXAMPLE

ID number of
news

Title of the news

ABS-CBN Partners
with PUP for
Halalan 2016

News_Desc

Text

Null

Content of the
news

News_Date

DateTime

Not Null

When the news


was posted

Image

Varchar(100
)

Null

News image

Admin_ID

Char(15)

Foreign Key,
Null

ID number of the
admin

Status

Varchar(8)

Default

News status

Table 3.15 Cms_Home Data Dictionary

The Polytechnic
University of the
Philippines (PUP)
is the newest
partner of ABSCBN for the
upcoming national
and local elections
on May 9, 2016.
2016-08-08
12:59:00
Sarmi.jpg
08083
active

130

CMS_HOME
FIELD
NAME

DATA TYPE

ID

Int(11)

Title

Text

CONSTRAINT
S
Primary Key,
Not Null

Null

DESCRIPTION

ID number of
Home CMS
Title of Home
CMS

Description

Text

Null

Description of
Home

Media

Text

Null

Home media

EXAMPLE

7
Magic!
This is a magic
about the dollar,
card and a pen.
magic4.PNG

Table 3.16 Cms_About Data Dictionary

FIELD
NAME

DATA TYPE

ID

Int(11)

Title

Text

CMS_ABOUT
CONSTRAINT DESCRIPTIO
S
N
Primary Key,
ID number of
Not Null
About CMS
Null

Title of About
CMS

Title_Highlight

Text

Null

Highlight of
the title

Description

Text

Null

Description of
About

Desc_Highligh
t

Text

Null

Highlight of
description

Image

Varchar(45)

Null

About image

EXAMPLE
1
PUPSRC LINE
QUEUING SYSTEM
<span style="color:
firebrick">PUPSRC</spa
n>
We provide software
development services to
empower businesses with
innovative web & mobile
app technologies
<b style="font-weight:
bold; color:
#373737">software
development
services</b>
dream.jpeg

131

Table 3.17 Cms_Contact Data Dictionary


CMS_CONTACT
FIELD
NAME

DATA TYPE

CONSTRAINT
S
Primary Key,
Not Null

DESCRIPTIO
N
ID number of
Contact CMS

ID

Int(11)

Title

Text

Null

Title of
Contact CMS

Address

Description

Text

Null

Description of
Contact

City of Santa Rosa,


Laguna

EXAMPLE

You might also like