src/Entity/Plainte.php line 13

  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Plainte
  6.  *
  7.  * @ORM\Table(name="plainte")
  8.  * @ORM\Entity
  9.  */
  10. class Plainte
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="telephone", type="integer", nullable=false)
  24.      */
  25.     private $telephone;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="motif", type="string", length=255, nullable=false)
  30.      */
  31.     private $motif;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="description", type="string", length=255, nullable=false)
  36.      */
  37.     private $description;
  38.     /**
  39.      * @var datetime_immutable
  40.      *
  41.      * @ORM\Column(name="created_at", type="datetime_immutable", nullable=false)
  42.      */
  43.     private $createdAt;
  44.     /**
  45.      * @var datetime_immutable
  46.      *
  47.      * @ORM\Column(name="delete_at", type="datetime_immutable", nullable=true)
  48.      */
  49.     private $deleteAt;
  50.     /**
  51.      * @var int
  52.      *
  53.      * @ORM\Column(name="statut", type="integer", nullable=false)
  54.      */
  55.     private $statut;
  56.     /**
  57.      * @var string
  58.      *
  59.      * @ORM\Column(name="nom", type="string", length=255, nullable=false)
  60.      */
  61.     private $nom;
  62.     /**
  63.      * @var string
  64.      *
  65.      * @ORM\Column(name="prenom", type="string", length=255, nullable=false)
  66.      */
  67.     private $prenom;
  68.     public function getId(): ?int
  69.     {
  70.         return $this->id;
  71.     }
  72.     public function getTelephone(): ?int
  73.     {
  74.         return $this->telephone;
  75.     }
  76.     public function setTelephone(int $telephone): self
  77.     {
  78.         $this->telephone $telephone;
  79.         return $this;
  80.     }
  81.     public function getMotif(): ?string
  82.     {
  83.         return $this->motif;
  84.     }
  85.     public function setMotif(string $motif): self
  86.     {
  87.         $this->motif $motif;
  88.         return $this;
  89.     }
  90.     public function getDescription(): ?string
  91.     {
  92.         return $this->description;
  93.     }
  94.     public function setDescription(string $description): self
  95.     {
  96.         $this->description $description;
  97.         return $this;
  98.     }
  99.     public function getCreatedAt(): ?\DateTimeImmutable
  100.     {
  101.         return $this->createdAt;
  102.     }
  103.     public function setCreatedAt(\DateTimeImmutable $createdAt): self
  104.     {
  105.         $this->createdAt $createdAt;
  106.         return $this;
  107.     }
  108.     public function getDeleteAt(): ?\DateTimeImmutable
  109.     {
  110.         return $this->deleteAt;
  111.     }
  112.     public function setDeleteAt(?\DateTimeImmutable $deleteAt): self
  113.     {
  114.         $this->deleteAt $deleteAt;
  115.         return $this;
  116.     }
  117.     public function getStatut(): ?int
  118.     {
  119.         return $this->statut;
  120.     }
  121.     public function setStatut(int $statut): self
  122.     {
  123.         $this->statut $statut;
  124.         return $this;
  125.     }
  126.     public function getNom(): ?string
  127.     {
  128.         return $this->nom;
  129.     }
  130.     public function setNom(string $nom): self
  131.     {
  132.         $this->nom $nom;
  133.         return $this;
  134.     }
  135.     public function getPrenom(): ?string
  136.     {
  137.         return $this->prenom;
  138.     }
  139.     public function setPrenom(string $prenom): self
  140.     {
  141.         $this->prenom $prenom;
  142.         return $this;
  143.     }
  144. }