Vous êtes sur la page 1sur 4

Data Dictionary

Table name: event_info

Description: This table gives details about the events.

Column Name Constraints Data Type Length/Values Description


e_id PRIMARY, Not INT 5 A unique
null, Auto reference for
Increment event
Ex: 00001
e_type Not Null ENUM B,C,S,W Event Type
Ex: B
e_date Not Null DATE yyyy-mm-dd Event Date
Ex: 2017-10-20
r_id Foreign Key, INT 5 A unique
Not Null reference for
the reverend
Ex: 12345
rq_id Foreign Key, INT 5 A unique
Null reference for
the
requirements
information
Ex: 12345

Table name: personal_info

Description: This table gives details about the personal information

Column Name Constraints Data Type Length/Values Description


p_id PRIMARY, INT 5 A unique
Not Null, Auto reference to the
Increment person
Ex: 00010
p_lname Not Null VARCHAR 20 Last Name of the
person
Ex: MARASIGAN
p_mname Null VARCHAR 20 Middle Name of
the person
Ex: TANIOG
p_fname Not null VARCHAR 20 First name of the
person
Ex: JAYSON
p_gender Null CHAR 1 Gender of the
person
Ex: M
p_address Null VARCHAR 45 Address of the
person
Ex: Santa Rosa
city of Laguna
p_birthday Null DATE Birthday of the
person
Ex: 1990-8-15
e_id Foreign Key, INT 5 A unique
Null reference for the
event
Ex: 00001

Table name: requirements_info

Description: This table gives details about the requirements.

Column Name Constraints Data Type Length/Values Description


rq_id PRIMARY, Not INT 5 A unique
Null, Auto reference for
Increment requirements
information
Ex: 00010
birth_cert Not Null VARCHAR 45 Certificate of
birth
confirmation_cert Not Null VARCHAR 45 Certificate of
confirmation
death_cert Not Null VARCHAR 45 Certificate of
death
permission_letter Not Null VARCHAR 45 Permission
letter
cenomar Not Null VARCHAR 45
id_card Not Null VARCHAR 45
Table name: reverend_availability

Description: This table gives details about the reverend availability.

Column Name Constraints Data Type Length/Values Description


ra_id PRIMARY, INT 5 A unique
Not Null, Auto reference for
Increment reverend
availability
Ex: 00000
ra_date_available Not Null DATE yyyy-mm-dd Date available
of the reverend
Ex: 2017-10-
10
r_id Foreign Key, INT 5 A unique
Not Null reference for
the reverend
Ex: 00000

Table name: reverend_info

Description: This table gives details about the reverend information.

Column Name Constraints Data Type Length/Values Description


r_id PRIMARY, Not INT 5 A unique
Null, Auto reference for
Increment reverend
information
Ex: 00000
r_fname Not null VARCHAR 20 First name of
reverend
Ex: LUCERIO
r_mname Not Null VARCHAR 20 Middle name
for reverend
Ex: RAMOS
r_lname Not Null VARCHAR 20 Last name of
reverend
Ex:
TAGUILASO
Table name: user

Description: This table gives details about the user.

Column Name Constraints Data Type Length/Values Description


u_id PRIMARY, Not INT 5 A unique
Null, Auto reference to
Increment the user.
Ex: 00000
u_type Not Null CHAR 2 User Type
Ex: U
u_password Not Null VARCHAR 15 Password of
the user
123456798
u_username Not Null VARCHAR 15 Username of
the user
Ex: PH01
p_id Foreign key, INT 5 A unique
Not Null reference for
the person
information
Ex: 00010

Vous aimerez peut-être aussi