0% found this document useful (0 votes)
315 views

Data Dictionary

The document contains the data dictionary for a job application database. It defines 10 tables with fields like user id, username, job title, company details, applicant details, messages, and states. The data dictionary provides metadata on the database structure, including the name, type, length and description of each field in the tables.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
315 views

Data Dictionary

The document contains the data dictionary for a job application database. It defines 10 tables with fields like user id, username, job title, company details, applicant details, messages, and states. The data dictionary provides metadata on the database structure, including the name, type, length and description of each field in the tables.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Data Dictionary

A data dictionary is a set of files that contains a database’s data. The data dictionary

contains record about other objects in the database, such as data of the user’s

relationships to other objects, and other data that will be used to have a functional

system that contains with important database on what is needed to be saved and used

for further work.

Data Field Name Data Type Length Value Description


id_admin Int 11 Not Null (PK) id_admin
username Varchar 255 Null username
password Varchar 255 Null password
Table 1. Admin Table

Data Field Name Data Type Length Value Description


id_apply Int 11 Not Null (PK) id_apply
id_jobpost Int 11 Null id_jobpost
id_company Int 11 Null id_company
id_user Int 11 Null id_user
status Int 11 Null status
Table 2. Apply Job Post Table

Data Field Name Data Type Length Value Description


id Int 11 Not Null (PK) id
name Varchar 30 Null name
state_id Int 11 Null state_id

Table 3. Cities Table


Data Field Name Data Type Length Value Description
id_company Int 11 Not Null (PK) id_company
name Varchar 255 Null name
companyname Varchar 255 Null companyname
country Varchar 255 Null country
state Varchar 255 Null state
city Varchar 255 Null city
contactno Varchar 255 Null contactno
website Varchar 255 Null website
email Varchar 255 Null email
password Varchar 255 Null password
logo Varchar 255 Null logo
createdAt timestamp Null createdAt
active Int 11 Null active
Table 4. Company Table

Data Field Name Data Type Length Value Description


id Int 11 Not Null (PK) id
sortname Varchar 3 Null sortname
name Varchar 150 Null name
phonecode Int 11 Null phonecode
Table 5. Cities Table

Data Field Name Data Type Length Value Description


id_jobpost Int 11 Not Null (PK) id_jobpost
id_company Int 11 Null id_company
jobtitle Varchar 255 Null jobtitle
description text Null description
minimumsalary Varchar 255 Null minimumsalary
maximumsalary Varchar 255 Null maximumsalary
experience Varchar 255 Null experience
qualification Varchar 255 Null qualification
createdat timestamp Null createdat
Table 6. Job Post Table
Data Field Name Data Type Length Value Description
id_mailbox Int 11 Not Null (PK) id_mailbox
id_fromuser Int 11 Null id_fromuser
fromuser Varchar 255 Null fromuser
id_touser Int 11 Null id_touser
subject Varchar 255 Null subject
message text Null message
createdAt timestamp Null createdAt
Table 7. Mailbox Table

Data Field Name Data Type Length Value Description


id_reply Int 11 Not Null (PK) id_reply
id_mailbox Int 11 Null id_mailbox
id_user Int 11 Null id_user
usertype Varchar 255 Null usertype
message text Null message
createdAt timestamp Null createdAt
Table 8. Reply Mailbox Table

Data Field Name Data Type Length Value Description


id Int 11 Not Null (PK) id
name Varchar 30 Null name
country_id Int 11 Null country_id
Table 9. States Table

Data Field Name Data Type Length Value Description


id_user Int 11 Not Null (PK) id_user
firstname Varchar 255 Null firstname
lastname Varchar 255 Null lastname
email Varchar 255 Null email
password Varchar 255 Null password
address text Null address
city Varchar 255 Null city
state Varchar 255 Null state
contactno Varchar 255 Null contactno
qualification Varchar 255 Null qualification
passingyear Varchar 255 Null passingyear
dob Varchar 255 Null dob
age Varchar 255 Null age
resume Varchar 255 Null resume
active Varchar 255 Null active
skills text Null skills
Table 10. Users Table

You might also like