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