src/Entity/CertModelResultDetail.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CertModelResultDetailRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=CertModelResultDetailRepository::class)
  7.  */
  8. class CertModelResultDetail
  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=CertModel::class, inversedBy="certModelResultDetails")
  30.      * @ORM\JoinColumn(nullable=false)
  31.      */
  32.     private $model;
  33.     public function getId(): ?int
  34.     {
  35.         return $this->id;
  36.     }
  37.     public function getTitle(): ?string
  38.     {
  39.         return $this->title;
  40.     }
  41.     public function setTitle(string $title): self
  42.     {
  43.         $this->title $title;
  44.         return $this;
  45.     }
  46.     public function getValeur(): ?string
  47.     {
  48.         return $this->valeur;
  49.     }
  50.     public function setValeur(?string $valeur): self
  51.     {
  52.         $this->valeur $valeur;
  53.         return $this;
  54.     }
  55.     public function isYon(): ?bool
  56.     {
  57.         return $this->yon;
  58.     }
  59.     public function setYon(?bool $yon): self
  60.     {
  61.         $this->yon $yon;
  62.         return $this;
  63.     }
  64.     public function getModel(): ?CertModel
  65.     {
  66.         return $this->model;
  67.     }
  68.     public function setModel(?CertModel $model): self
  69.     {
  70.         $this->model $model;
  71.         return $this;
  72.     }
  73. }