<?php
namespace App\Entity\Vetoadom;
use Doctrine\ORM\Mapping as ORM;
/**
* ConsultationDelaiUrgence
*
* @ORM\Table(name="consultation_delai_urgence")
* @ORM\Entity(repositoryClass="App\Repository\Vetoadom\ConsultationDelaiUrgenceRepository")
*/
class ConsultationDelaiUrgence
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="code", type="string", length=20, nullable=false)
*/
private $code;
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;
}
}