|
id
|
int(11)
|
|
|
|
|
payroll_month
|
char(7)
|
|
|
|
|
employee_id
|
int(11)
|
|
|
|
|
base_salary
|
decimal(12,2)
|
|
|
0.00
|
|
meal_allowance
|
decimal(12,2)
|
|
|
0.00
|
|
total_salary
|
decimal(12,2)
|
|
|
0.00
|
|
work_days
|
decimal(6,2)
|
|
|
30.00
|
|
is_full_month
|
tinyint(1)
|
|
|
1
|
|
calc_start_date
|
date
|
|
|
|
|
calc_end_date
|
date
|
|
|
|
|
payable_salary
|
decimal(12,2)
|
|
|
0.00
|
|
labor_insured_amount
|
decimal(12,2)
|
|
|
0.00
|
|
health_insured_amount
|
decimal(12,2)
|
|
|
0.00
|
|
overtime_133_hours
|
decimal(8,2)
|
|
|
0.00
|
|
overtime_166_hours
|
decimal(8,2)
|
|
|
0.00
|
|
overtime_200_hours
|
decimal(8,2)
|
|
|
0.00
|
|
overtime_267_hours
|
decimal(8,2)
|
|
|
0.00
|
|
overtime_pay
|
decimal(12,2)
|
|
|
0.00
|
|
annual_leave_cashout
|
decimal(12,2)
|
|
|
0.00
|
|
paid_leave_hours
|
decimal(8,2)
|
|
|
0.00
|
|
personal_leave_hours
|
decimal(8,2)
|
|
|
0.00
|
|
sick_leave_half_hours
|
decimal(8,2)
|
|
|
0.00
|
|
personal_leave_deduction
|
decimal(12,2)
|
|
|
0.00
|
|
sick_leave_deduction
|
decimal(12,2)
|
|
|
0.00
|
|
labor_insurance_mode
|
varchar(20)
|
|
|
auto
|
|
health_insurance_mode
|
varchar(20)
|
|
|
auto
|
|
labor_deduction
|
decimal(12,2)
|
|
|
0.00
|
|
health_dependents
|
int(11)
|
|
|
0
|
|
health_deduction
|
decimal(12,2)
|
|
|
0.00
|
|
net_salary
|
decimal(12,2)
|
|
|
0.00
|
|
note
|
text
|
|
|
|
|
status
|
varchar(30)
|
|
|
draft
|
|
created_by
|
varchar(100)
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
current_timestamp()
|