<?php

namespace App\Entity;

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

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

    /**
     * @ORM\Column(type="string", length=255)
     */
    private $code;

    /**
     * @ORM\Column(type="text")
     */
    private $name;

    /**
     * @ORM\ManyToOne(targetEntity=Cible2063::class, inversedBy="indicateurs")
     */
    private $cible;

    /**
     * @ORM\ManyToOne(targetEntity=Indicator::class, inversedBy="indicateurs2063")
     */
    private $indicateur2030;

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

    public function getCode(): ?string
    {
        return $this->code;
    }

    public function setCode(string $code): self
    {
        $this->code = $code;

        return $this;
    }

    public function getName(): ?string
    {
        return $this->name;
    }

    public function setName(string $name): self
    {
        $this->name = $name;

        return $this;
    }

    public function getCible(): ?Cible2063
    {
        return $this->cible;
    }

    public function setCible(?Cible2063 $cible): self
    {
        $this->cible = $cible;

        return $this;
    }

    public function getIndicateur2030(): ?Indicator
    {
        return $this->indicateur2030;
    }

    public function setIndicateur2030(?Indicator $indicateur2030): self
    {
        $this->indicateur2030 = $indicateur2030;

        return $this;
    }
}
