| id |
bigint(20)
|
|
|
|
| user_id |
bigint(20)
|
|
|
|
| leave_type |
enum('SICK', 'ANNUAL', 'PERSONAL', 'EMERGENCY', 'MATERNITY', 'PATERNITY', 'OTHER')
|
utf8mb4_unicode_ci
|
|
|
| start_date |
date
|
|
|
|
| end_date |
date
|
|
|
|
| total_days |
decimal(4,1)
|
|
|
|
| reason |
text
|
utf8mb4_unicode_ci
|
|
|
| attachments |
longtext
|
utf8mb4_bin
|
|
|
| remarks |
text
|
utf8mb4_unicode_ci
|
|
|
| status |
enum('PENDING', 'APPROVED', 'REJECTED')
|
utf8mb4_unicode_ci
|
|
|
| approved_by |
bigint(20)
|
|
|
|
| approved_at |
timestamp
|
|
|
|
| approval_remarks |
text
|
utf8mb4_unicode_ci
|
|
|
| created_at |
timestamp
|
|
|
|
| updated_at |
timestamp
|
|
|
|