<?php
namespace App\Entity\Vetoadom;
use Doctrine\ORM\Mapping as ORM;
/**
* SecteurDelaiDefaut
*
* @ORM\Table(name="secteur_delai_defaut")
* @ORM\Entity(repositoryClass="App\Repository\Vetoadom\SecteurDelaiDefautRepository")
*/
class SecteurDelaiDefaut
{
/**
* @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=11, 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;
}
}