Employee monitoringDD (AutoRecovered)

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Time line chart

Data dictionary

Table 1: Admin
Field Name Data type Size Constrain
Admin_id Int 10 Primary key
Name Varchar 30 Not Null
Desig_id Int 10 Foreign key
User_id Int 10 Foreign key
Password varchar 15 Not Null

Table 2: Employee
Field Name Data type Size Constrain
Employee_id Int 10 Primary key
Name Varchar
Contact Int
Address Varchar
Joining Date Date& time - Not null
Depart_id Int 10 Foreign key
Desig_id Int 10 Foreign key
User name Varchar
password Varchar

Table 3: designation
Field Name Data type Size Constrain
Desig_id Int 10 Primary key
Desig_name Varchar

Table 4: project master


Field Name Data type Size Constrain
Proj_id Int 10 Primary key
Project_name Varchar
Table 5: project detail
Field Name Data type Size Constrain
Proj_id Int 10 Primary key
Client_id Int 10 Foreign key
Confirm date Date& time - Not null
Total amount Int 6 Not null
Start_date Date& time - Not null
End_date Date& time - Not null
Emp_id Int 10 Foreign key

Table 6: task master


Field Name Data type Size Constrain
Task_id Int 10 Primary key
Task name Varchar 30 Not null

Table 7: task detail


Field Name Data type Size Constrain
Task_id Int 10 Foreign key
Start date Date& time - Not null
End date Date& time - Not null
Emp_id Int 10 Foreign key
No of hours Int 4 Not null
Total hours Int 4 Not null
Description Varchar 300 Not null
Proj_id Int 10 Foreign key

Table 8: attendance
Field Name Data type Size Constrain
Att_id Int 10 Primary key
Emp_id Int 10 Foreign key
On day Date& time - Not null
Off day Date& time - Not null
Month Date& time - Not null
Year Date& time - Not null
Holiday_id Int 10 Foreign key

Table 9: client details


Field Name Data type Size Constrain
Client_id Int 10 Primary key
Name Varchar 30 Not null
Contact Int 10 Not null
Detaile Varchar 300 Not null
Email_id Varchar 20 Not null
country Varchar 10 Not null

Table 10: payment


Field Name Data type Size Constrain
Pay_id Int 10 Primary key
Client_id Int 10 Foreign key
Amount Int 6 Not null
Date Date& time - Not null
Time Date& time - Not null
Project_id Int 10 Foreign key

Table 11: department


Field Name Data type Size Constrain
Dep_id Int 10 Primary key
Dep_name Varchar 30 Not null

Table 12: salary


Field Name Data type Size Constrain
Emp_id Int 10 Foreign key
Dep_id Int 10 Foreign key
Desig_id Int 10 Foreign key
salary Int 6 Not null
Increment Int 6 Not null
Total salary Int 6 Not null

Table 13: holiday


Field Name Data type Size Constrain
Holiday_id Int 10 Primary key
Holiday title Varchar 30 Not null
Date Date& time - Not null

You might also like