You are on page 1of 7

1.

Employee_Master_Table
Primary key: Foreign key:
Emp_id

-Emp_Designation_id, Emp_Department_id

Field Name Emp_id [PK] Emp_Designation_i d Emp_Department_i d Emp_Fname Emp_Mname Emp_Lname Emp_Permenant Address Emp_current Address Emp_Ph no Emp_Alternate ph no Emp_Gender Emp_DOB Emp_DOJ Emp_Qualification Emp_Email ID Emp_Experience Emp_A/c_No Emp_Type

Data Type Number Number Number Varchar2 Varchar2 Varchar2 Varchar2 Varchar2 Number Number boolean Date Date Varchar2 Varchar2 Varchar2 Varchar2 Varchar2

Constraint Not null Not null Not null Not null Not null Not null Not null Not null Not null Not null Not null Not null Not null Not null Not null

Description Employee id Designation id of the employee Department id of the employee First name of employee Middle name of employee Last name of employee Permanent address of employee Temporary address of employee Phone no of employee Alternate no of employee Date of birth of employee Date of joining of employee Qualification of employee E-mail id of employee Experience of employee Will display the bank account number Display the type of the employee whether on contract or

permanent

Description of Table:
This table contain the basic detail of all employee which are belongs to company. This table is maintain by employee it self.

2.Employee_Department_Table
Primary key: Foreign key:
Dept_id

Field Name Department_Id [PK] Department_Nam e

Data type Number Varchar2

Constraint Not null Not null

Description Department id Department name

Description of Table:

This table contains the employee detail department wise. In this table HR can know that how many employees are in one department.

3.Designation_Master_Table
Primary key: Foreign Key:
Designation_id

Field Name Designation_id[PK ] Designation_nam e

Data Type Number Varchar2

Constraint Not null Not null

Description Designation id of employee Designation of employee

Description of Table:
This table will contain particular employee with their designation in particular department.

4.Employee_Dayreport_Table
Primary key: Foreign Key:
Field Name Emp_id [FK] Date Emp_Dayreport

Emp_id

Data Type Number Date Varchar2

Constraint Not null Not null Not null

Description Employee id Date when day report submitted Contain the day report

Description of Table:
This table maintains the day report with proper date and detail description.

5.Employee_Login_Table
Primary key: Foreign Key: Emp_id

Field Name Emp_id [FK] Emp_Password Login_type

Data Type Number Varchar2 Varchar2

Constraint Not null Not null Not null

Description Emplyoee id Password Type of login

Description of Table:
This table will maintain the detail of employee id, employee password and login type as well as description.

6.Leave_Master_Table
Primary key: Foreign Key:
Field Name Emp_Id [FK] Total_Leave

Emp_Id
Data Type Number Varchar2 Constraint Not null Not null Description Employee id Total leave that will be given by organization Free leave of employee Display leave which didnt used last year

Available_Leave Carry forwarded leave

Varchar2 Varchar2

Not null Not null

Description of Table:
This Table will maintain total leave and available leave of employee.

7.Leave_Detail
Primary key: Foreign Key:
Field Name Leave_id Emp_Id Date_of_Application Type_of_Leave Reason_Of_Leave Date_From Date_To

Leave_id
Emp_Id, Status_id

Data Type Number Number Date Varchar2 Varchar2 Date Date

Constrain t Not null Not null Not null Not null Not null Not null Not null

Description Leave id Employee id Date Leave is free or paid Leave Reason why leave is taken Starting date of leave Ending date of leave

Status_id

Varchar2

Not null

Status of the leave[wheth er leave is approved or in waiting]

Description of Table:
This Table will maintain the details of leave which employee apply.

8.

Leave_approved_detail
Emp_Id , Leave_id
Data Type Number Number Varchar2 Date Date Constrain Descriptio t n Not null Leave id Not null Employee id Not null approved leave Not null Starting date of leave Not null Ending date of leave

Primary key: Foreign Key:


Field Name Leave_id Emp_Id [FK] Date_OF_Approved Date_From Date_To

Description of Table:
This Table will maintain when the leave application is approved.

9.

Leave_Type_Master
- Leave_Type_Id
Data Type Number Varchar2 Constrain Descriptio t n Not null Leave Id Not null General or additional leave

Primary key: Foreign Key:


Field Name Leave_Type_Id [FK] Leave Name

Description of Table:
Type of leave is maintain in this table.

10.

Leave_Status_master
- Status_Id Data Type Number Varchar2 Constrain Descriptio t n Not null Status_Id is here Not null Approved or in waiting

Primary key: Foreign Key:


Field Name Status_Id Status_description

Description of Table:

Leave is approved ,disapproved or waiting that is maintain in this table.

11.

Employee_Remark_Table
- Emp_Id
Data Type Number Varchar2 Date Constrain Descriptio t n Null Emp_id Null Remark given by HR Null Date of remark

Primary key: Foreign Key:


Field Name Emp_Id Remark_Detail Date_Remark

Description of Table:

Remark given by HR and Manager to employee that is maintain here.

12. Employee_Suggestion
Primary key: Foreign Key:
Field Name Msg_id Subject Date Message

Data Type Number Varchar2 Date/Time Varchar2 Constrain Descriptio t n Not null Msg_id Not null Subject of suggestion Not null Date of suggestion Not null Description on suggestion

Description of Table: Employee suggestion on any topic is maintain here

You might also like