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