| id |
bigint(20)
|
|
|
|
| company_id |
bigint(20)
|
|
|
|
| primary_branch_id |
bigint(20)
|
|
|
|
| role_id |
bigint(20)
|
|
|
|
| employee_code |
varchar(50)
|
utf8mb4_unicode_ci
|
|
|
| name |
varchar(150)
|
utf8mb4_unicode_ci
|
|
|
| email |
varchar(150)
|
utf8mb4_unicode_ci
|
|
|
| phone |
varchar(30)
|
utf8mb4_unicode_ci
|
|
|
| password |
varchar(255)
|
utf8mb4_unicode_ci
|
|
|
| sso_provider |
varchar(80)
|
utf8mb4_unicode_ci
|
|
|
| sso_subject |
varchar(190)
|
utf8mb4_unicode_ci
|
|
|
| status |
enum('active', 'inactive', 'blocked')
|
utf8mb4_unicode_ci
|
|
|
| last_login_at |
timestamp
|
|
|
|
| created_at |
timestamp
|
|
|
|
| updated_at |
timestamp
|
|
|
|
| deleted_at |
timestamp
|
|
|
|
| attendance_anywhere |
tinyint(1)
|
|
|
|
| attendance_device_id |
varchar(120)
|
utf8mb4_unicode_ci
|
|
|
| attendance_device_registered_at |
datetime
|
|
|
|
| attendance_device_reset_at |
datetime
|
|
|
|
| attendance_device_reset_by |
bigint(20)
|
|
|
|
| department_id |
bigint(20)
|
|
|
|
| shift_id |
bigint(20)
|
|
|
|
| alternate_mobile |
varchar(20)
|
utf8mb4_unicode_ci
|
|
|
| nearest_relative_contact |
varchar(30)
|
utf8mb4_unicode_ci
|
|
|
| blood_group |
varchar(20)
|
utf8mb4_unicode_ci
|
|
|
| employee_address |
text
|
utf8mb4_unicode_ci
|
|
|
| employee_id_proof_path |
varchar(255)
|
utf8mb4_unicode_ci
|
|
|
| employee_photo_path |
varchar(255)
|
utf8mb4_unicode_ci
|
|
|
| tracking_required |
tinyint(1)
|
|
|
|
| salary_amount |
decimal(12,2)
|
|
|
|
| salary_effective_from |
date
|
|
|
|
| allow_apple_web_login |
tinyint(1)
|
|
|
|
| apple_web_device_hash |
varchar(128)
|
utf8mb4_unicode_ci
|
|
|
| apple_web_device_registered_at |
datetime
|
|
|
|
| apple_web_device_reset_at |
datetime
|
|
|
|
| apple_web_device_reset_by |
bigint(20)
|
|
|
|
| date_of_birth |
date
|
|
|
|
| employee_id_proof_type |
varchar(80)
|
utf8mb4_unicode_ci
|
|
|
| employee_id_proof_number |
varchar(100)
|
utf8mb4_unicode_ci
|
|
|
| bike_meter_required |
tinyint(1)
|
|
|
|