|
id
|
int(10) unsigned
|
|
|
|
|
sales_id
|
int(10) unsigned
|
|
|
|
|
outlet_id
|
int(10) unsigned
|
|
|
|
|
visit_date
|
date
|
|
|
|
|
checkin_at
|
datetime
|
|
|
|
|
checkin_lat
|
decimal(10,7)
|
|
|
|
|
checkin_lng
|
decimal(10,7)
|
|
|
|
|
checkout_at
|
datetime
|
|
|
|
|
checkout_lat
|
decimal(10,7)
|
|
|
|
|
checkout_lng
|
decimal(10,7)
|
|
|
|
|
checkout_photo
|
varchar(255)
|
|
|
|
|
status
|
enum
|
-- |
|
planned
|
|
notes
|
text
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|