|
id
|
bigint(20) unsigned
|
|
|
|
|
visit_uuid
|
char(36)
|
|
|
|
|
tracking_session_id
|
bigint(20) unsigned
|
|
|
|
|
employee_id
|
int(10) unsigned
|
|
|
|
|
branch_id
|
int(10) unsigned
|
|
|
|
|
finance_year_id
|
int(10) unsigned
|
|
|
|
|
visit_type
|
varchar(20)
|
|
|
|
|
customer_ledger_id
|
bigint(20) unsigned
|
|
|
|
|
service_ticket_id
|
bigint(20) unsigned
|
|
|
|
|
planned_crm_visit_id
|
int(11)
|
|
|
|
|
customer_location_id
|
bigint(20) unsigned
|
|
|
|
|
checkin_at
|
datetime(3)
|
|
|
|
|
checkout_at
|
datetime(3)
|
|
|
|
|
checkin_latitude
|
decimal(10,7)
|
|
|
|
|
checkin_longitude
|
decimal(10,7)
|
|
|
|
|
checkin_accuracy
|
decimal(10,2)
|
|
|
|
|
checkout_latitude
|
decimal(10,7)
|
|
|
|
|
checkout_longitude
|
decimal(10,7)
|
|
|
|
|
checkout_accuracy
|
decimal(10,2)
|
|
|
|
|
customer_latitude
|
decimal(10,7)
|
|
|
|
|
customer_longitude
|
decimal(10,7)
|
|
|
|
|
checkin_distance_meters
|
decimal(12,2)
|
|
|
|
|
checkout_distance_meters
|
decimal(12,2)
|
|
|
|
|
geofence_radius_meters
|
int(10) unsigned
|
|
|
|
|
geofence_status
|
varchar(40)
|
|
|
|
|
status
|
varchar(20)
|
|
|
|
|
outcome
|
varchar(40)
|
|
|
|
|
remarks
|
text
|
|
|
|
|
row_version
|
int(10) unsigned
|
|
|
1
|
|
created_at
|
datetime(3)
|
|
|
current_timestamp(3).000000
|
|
updated_at
|
datetime(3)
|
|
|
current_timestamp(3).000000
|