'date', 'hours_logged' => 'decimal:2', ]; /** * Get the project that owns the actual. */ public function project() { return $this->belongsTo(Project::class); } /** * Get the team member that owns the actual. */ public function teamMember() { return $this->belongsTo(TeamMember::class); } }