|
id
|
bigint(20) unsigned
|
|
|
|
|
order_number
|
varchar(20)
|
|
|
|
|
user_id
|
bigint(20) unsigned
|
|
|
|
|
technician_id
|
bigint(20) unsigned
|
|
|
|
|
service_id
|
bigint(20) unsigned
|
|
|
|
|
address_id
|
bigint(20) unsigned
|
|
|
|
|
city_id
|
bigint(20) unsigned
|
|
|
|
|
status
|
enum
|
-- |
|
pending
|
|
description
|
text
|
|
|
|
|
proposed_price
|
decimal(12,2)
|
|
|
|
|
proposed_price_note
|
text
|
|
|
|
|
price_approved_at
|
timestamp
|
|
|
|
|
price_rejected_at
|
timestamp
|
|
|
|
|
final_price
|
decimal(12,2)
|
|
|
|
|
cancellation_reason
|
varchar(255)
|
|
|
|
|
assigned_by
|
bigint(20) unsigned
|
|
|
|
|
assigned_at
|
timestamp
|
|
|
|
|
accepted_at
|
timestamp
|
|
|
|
|
inspecting_at
|
timestamp
|
|
|
|
|
completed_at
|
timestamp
|
|
|
|
|
created_at
|
timestamp
|
|
|
|
|
updated_at
|
timestamp
|
|
|
|