src/Entity/CertResultDetail.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CertResultDetailRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=CertResultDetailRepository::class)
  7.  */
  8. class CertResultDetail
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255)
  18.      */
  19.     private $title;
  20.     /**
  21.      * @ORM\Column(type="string", length=255, nullable=true)
  22.      */
  23.     private $valeur;
  24.     /**
  25.      * @ORM\Column(type="boolean", nullable=true)
  26.      */
  27.     private $yon;
  28.     /**
  29.      * @ORM\ManyToOne(targetEntity=CertCertificat::class, inversedBy="certResultDetails")
  30.      * @ORM\JoinColumn(nullable=false)
  31.      */
  32.     private $certificat;
  33.     /**
  34.      * @ORM\Column(type="string", length=255, nullable=true)
  35.      */
  36.     private $uniteValeur;
  37.     public function getId(): ?int
  38.     {
  39.         return $this->id;
  40.     }
  41.     public function getTitle(): ?string
  42.     {
  43.         return $this->title;
  44.     }
  45.     public function setTitle(string $title): self
  46.     {
  47.         $this->title $title;
  48.         return $this;
  49.     }
  50.     public function getValeur(): ?string
  51.     {
  52.         return $this->valeur;
  53.     }
  54.     public function setValeur(?string $valeur): self
  55.     {
  56.         $this->valeur $valeur;
  57.         return $this;
  58.     }
  59.     public function isYon(): ?bool
  60.     {
  61.         return $this->yon;
  62.     }
  63.     public function setYon(?bool $yon): self
  64.     {
  65.         $this->yon $yon;
  66.         return $this;
  67.     }
  68.     public function getCertificat(): ?CertCertificat
  69.     {
  70.         return $this->certificat;
  71.     }
  72.     public function setCertificat(?CertCertificat $certificat): self
  73.     {
  74.         $this->certificat $certificat;
  75.         return $this;
  76.     }
  77.     public function getUniteValeur(): ?string
  78.     {
  79.         return $this->uniteValeur;
  80.     }
  81.     public function setUniteValeur(?string $uniteValeur): self
  82.     {
  83.         $this->uniteValeur $uniteValeur;
  84.         return $this;
  85.     }
  86. }