|
id
|
bigint(20) unsigned
|
|
|
|
|
session_uuid
|
char(36)
|
|
|
|
|
employee_id
|
int(10) unsigned
|
|
|
|
|
user_id
|
smallint(5) unsigned
|
|
|
|
|
device_id
|
bigint(20) unsigned
|
|
|
|
|
device_uuid
|
varchar(80)
|
|
|
|
|
branch_id
|
int(10) unsigned
|
|
|
|
|
finance_year_id
|
int(10) unsigned
|
|
|
|
|
company_id
|
int(10) unsigned
|
|
|
|
|
employee_context
|
varchar(20)
|
|
|
|
|
policy_version
|
int(10) unsigned
|
|
|
|
|
policy_snapshot_json
|
longtext
|
|
|
|
|
started_at
|
datetime(3)
|
|
|
|
|
ended_at
|
datetime(3)
|
|
|
|
|
authorized_until
|
datetime(3)
|
|
|
|
|
start_latitude
|
decimal(10,7)
|
|
|
|
|
start_longitude
|
decimal(10,7)
|
|
|
|
|
start_accuracy
|
decimal(10,2)
|
|
|
|
|
end_latitude
|
decimal(10,7)
|
|
|
|
|
end_longitude
|
decimal(10,7)
|
|
|
|
|
end_accuracy
|
decimal(10,2)
|
|
|
|
|
status
|
varchar(20)
|
|
|
|
|
last_location_at
|
datetime(3)
|
|
|
|
|
last_received_at
|
datetime(3)
|
|
|
|
|
last_point_id
|
bigint(20) unsigned
|
|
|
|
|
total_distance_meters
|
decimal(14,2)
|
|
|
0.00
|
|
total_active_seconds
|
int(10) unsigned
|
|
|
0
|
|
total_idle_seconds
|
int(10) unsigned
|
|
|
0
|
|
total_visits
|
int(10) unsigned
|
|
|
0
|
|
summary_state
|
varchar(20)
|
|
|
PENDING
|
|
summary_version
|
int(10) unsigned
|
|
|
0
|
|
created_at
|
datetime(3)
|
|
|
current_timestamp(3).000000
|
|
updated_at
|
datetime(3)
|
|
|
current_timestamp(3).000000
|