'date', 'total_distance_km' => 'decimal:2', 'started_at' => 'datetime', 'ended_at' => 'datetime', ]; } public function user(): BelongsTo { return $this->belongsTo(User::class); } public function route(): BelongsTo { return $this->belongsTo(SalesRoute::class, 'sales_route_id'); } }