|
id
|
bigint(20)
|
|
|
|
|
employee_id
|
int(11)
|
|
|
|
|
month
|
tinyint(4)
|
|
|
|
|
year
|
smallint(6)
|
|
|
|
|
basic_salary
|
decimal(12,2)
|
|
|
0.00
|
|
allowances
|
decimal(12,2)
|
|
|
0.00
|
|
bonuses
|
decimal(12,2)
|
|
|
0.00
|
|
deductions
|
decimal(12,2)
|
|
|
0.00
|
|
penalties
|
decimal(12,2)
|
|
|
0.00
|
|
social_insurance
|
decimal(10,2)
|
|
|
0.00
|
|
medical_insurance
|
decimal(10,2)
|
|
|
0.00
|
|
income_tax
|
decimal(10,2)
|
|
|
0.00
|
|
employer_social
|
decimal(10,2)
|
|
|
0.00
|
|
notes
|
text
|
|
|
|
|
status
|
enum
|
-- |
|
draft
|
|
paid_at
|
timestamp
|
|
|
|
|
created_by
|
int(11)
|
|
|
|
|
created_at
|
timestamp
|
|
|
current_timestamp()
|
|
journal_entry_id
|
int(11)
|
|
|
|
|
payment_entry_id
|
int(11)
|
|
|
|