<?php
namespace App\Entity;
use App\Repository\CertModelResultDetailRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CertModelResultDetailRepository::class)
*/
class CertModelResultDetail
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $title;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $valeur;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $yon;
/**
* @ORM\ManyToOne(targetEntity=CertModel::class, inversedBy="certModelResultDetails")
* @ORM\JoinColumn(nullable=false)
*/
private $model;
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
public function getValeur(): ?string
{
return $this->valeur;
}
public function setValeur(?string $valeur): self
{
$this->valeur = $valeur;
return $this;
}
public function isYon(): ?bool
{
return $this->yon;
}
public function setYon(?bool $yon): self
{
$this->yon = $yon;
return $this;
}
public function getModel(): ?CertModel
{
return $this->model;
}
public function setModel(?CertModel $model): self
{
$this->model = $model;
return $this;
}
}