<?php

namespace App\Entity;

use App\Repository\ProjectsBoostRepository;
use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity(repositoryClass=ProjectsBoostRepository::class)
 */
class ProjectsBoost
{
    /**
     * @ORM\Id
     * @ORM\GeneratedValue
     * @ORM\Column(type="integer")
     */
    private $id;

    /**
     * @ORM\ManyToOne(targetEntity=IndividualData::class, inversedBy="ProjectsBoost")
     */
    private $individualData;

    /**
     * @ORM\ManyToOne(targetEntity=CollectifData::class, inversedBy="projectsBoost")
     */
    private $collectifData;

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getIndividualData(): ?IndividualData
    {
        return $this->individualData;
    }

    public function setIndividualData(?IndividualData $individualData): self
    {
        $this->individualData = $individualData;

        return $this;
    }

    public function getCollectifData(): ?CollectifData
    {
        return $this->collectifData;
    }

    public function setCollectifData(?CollectifData $collectifData): self
    {
        $this->collectifData = $collectifData;

        return $this;
    }
}
