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