Table
Table
datetime_log datetime NOT NULL DEFAULT current_timestamp() Log date and time
Table: deductions
Table: department
Column Type Constraints Description
Table: employee
table: employee_allowances
Column Type constraints Description
Table: employee_deductions
Table: payroll
Column Type Constraints Description
date_from date NOT NULL The start date of the payroll period
date_to date NOT NULL The end date of the payroll period
NOT NULL, DEFAULT 0, COMMENT '0=New, Indicates the status of the payroll record
status tinyint(1) 1=Computed' (new or computed)
NOT NULL, COMMENT '1=Monthly, 2=Semi- Indicates the frequency of the payroll period
type Tinyint(1) Monthly' (monthly or semi-monthly)
NOT NULL, DEFAULT The date and time when the payroll record
date_created datetime CURRENT_TIMESTAMP() was created.
Table: allowances
USER TABLE
For admin,2
For staff
Table:-Position
Table:-payroll item
USER TABLE
late text NOT NULL Numbur of days the employee was late
Column Type constraints Description