src/Entity/Adresses.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\AdressesRepository;
  4. use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=AdressesRepository::class)
  8.  * @Auditable()
  9.  */
  10. class Adresses
  11. {
  12.     /**
  13.      * @ORM\Id()
  14.      * @ORM\GeneratedValue()
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="string", length=50)
  20.      */
  21.     private $numero;
  22.     /**
  23.      * @ORM\Column(type="string", length=255)
  24.      */
  25.     private $avenue;
  26.     /**
  27.      * @ORM\ManyToOne(targetEntity=Pcode::class)
  28.      */
  29.     private $quartier;
  30.     /**
  31.      * @ORM\ManyToOne(targetEntity=Pcode::class)
  32.      */
  33.     private $commune;
  34.     /**
  35.      * @ORM\ManyToOne(targetEntity=Pcode::class)
  36.      */
  37.     private $ville;
  38.     /**
  39.      * @ORM\ManyToOne(targetEntity=Pcode::class)
  40.      */
  41.     private $province;
  42.     /**
  43.      * @ORM\Column(type="boolean")
  44.      */
  45.     private $isDeleted;
  46.     /**
  47.      * @ORM\Column(type="integer", nullable=true)
  48.      */
  49.     private $status;
  50.     public function getId(): ?int
  51.     {
  52.         return $this->id;
  53.     }
  54.     public function getNumero(): ?string
  55.     {
  56.         return $this->numero;
  57.     }
  58.     public function setNumero(string $numero): self
  59.     {
  60.         $this->numero $numero;
  61.         return $this;
  62.     }
  63.     public function getAvenue(): ?string
  64.     {
  65.         return $this->avenue;
  66.     }
  67.     public function setAvenue(string $avenue): self
  68.     {
  69.         $this->avenue $avenue;
  70.         return $this;
  71.     }
  72.     public function getQuartier(): ?Pcode
  73.     {
  74.         return $this->quartier;
  75.     }
  76.     public function setQuartier(?Pcode $quartier): self
  77.     {
  78.         $this->quartier $quartier;
  79.         return $this;
  80.     }
  81.     public function getCommune(): ?Pcode
  82.     {
  83.         return $this->commune;
  84.     }
  85.     public function setCommune(?Pcode $commune): self
  86.     {
  87.         $this->commune $commune;
  88.         return $this;
  89.     }
  90.     public function getVille(): ?Pcode
  91.     {
  92.         return $this->ville;
  93.     }
  94.     public function setVille(?Pcode $ville): self
  95.     {
  96.         $this->ville $ville;
  97.         return $this;
  98.     }
  99.     public function getProvince(): ?Pcode
  100.     {
  101.         return $this->province;
  102.     }
  103.     public function setProvince(?Pcode $province): self
  104.     {
  105.         $this->province $province;
  106.         return $this;
  107.     }
  108.     public function getIsDeleted(): ?bool
  109.     {
  110.         return $this->isDeleted;
  111.     }
  112.     public function setIsDeleted(bool $isDeleted): self
  113.     {
  114.         $this->isDeleted $isDeleted;
  115.         return $this;
  116.     }
  117.     public function getStatus(): ?int
  118.     {
  119.         return $this->status;
  120.     }
  121.     public function setStatus(?int $status): self
  122.     {
  123.         $this->status $status;
  124.         return $this;
  125.     }
  126. }