'datetime','started_at'=>'datetime','ended_at'=>'datetime','status'=>'integer']; } public function order(): BelongsTo { return $this->belongsTo(ServiceOrder::class, 'service_order_id'); } public function serviceItem(): BelongsTo { return $this->belongsTo(ServiceItem::class); } public function customer(): BelongsTo { return $this->belongsTo(Customer::class); } public function technician(): BelongsTo { return $this->belongsTo(User::class, 'technician_id'); } }