|
id
|
int(11)
|
|
|
|
|
contract_number
|
varchar(50)
|
|
|
|
|
employee_id
|
int(11)
|
|
|
|
|
contract_type
|
enum
|
-- |
|
temporary
|
|
start_date
|
date
|
|
|
|
|
end_date
|
date
|
|
|
|
|
basic_salary
|
decimal(12,2)
|
|
|
0.00
|
|
housing_allowance
|
decimal(10,2)
|
|
|
0.00
|
|
transport_allowance
|
decimal(10,2)
|
|
|
0.00
|
|
meal_allowance
|
decimal(10,2)
|
|
|
0.00
|
|
other_allowances
|
decimal(10,2)
|
|
|
0.00
|
|
working_hours
|
decimal(4,1)
|
|
|
8.0
|
|
working_days
|
tinyint(4)
|
|
|
5
|
|
probation_months
|
tinyint(4)
|
|
|
3
|
|
notice_period_days
|
int(11)
|
|
|
30
|
|
status
|
enum
|
-- |
|
draft
|
|
termination_reason
|
text
|
|
|
|
|
termination_date
|
date
|
|
|
|
|
journal_entry_id
|
int(11)
|
|
|
|
|
notes
|
text
|
|
|
|
|
attachment
|
varchar(255)
|
|
|
|
|
created_by
|
int(11)
|
|
|
|
|
created_at
|
timestamp
|
|
|
current_timestamp()
|
|
updated_at
|
timestamp
|
|
|
current_timestamp()
|