src/Entity/Sms.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SmsRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=SmsRepository::class)
  8.  */
  9. class Sms
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255, nullable=true)
  19.      */
  20.     private $sms_nom;
  21.     /**
  22.      * @ORM\Column(type="string", length=255, nullable=true)
  23.      */
  24.     private $sms_prenom;
  25.     /**
  26.      * @ORM\Column(type="string", length=255)
  27.      */
  28.     private $sms_telephone;
  29.     /**
  30.      * @ORM\Column(type="string", length=255, nullable=true)
  31.      */
  32.     private $sms_immatriculation;
  33.     /**
  34.      * @ORM\Column(type="datetime")
  35.      */
  36.     private $sms_date;
  37.     /**
  38.      * @ORM\Column(type="boolean")
  39.      */
  40.     private $sms_to_delete;
  41.     /**
  42.      * @ORM\Column(type="boolean")
  43.      */
  44.     private $sms_is_relance;
  45.     /**
  46.      * @ORM\Column(type="integer")
  47.      */
  48.     private $sms_nb_envoye;
  49.     /**
  50.      * @ORM\ManyToOne(targetEntity=Centre::class, inversedBy="sms")
  51.      * @ORM\JoinColumn(nullable=false)
  52.      */
  53.     private $centre;
  54.     public function getId(): ?int
  55.     {
  56.         return $this->id;
  57.     }
  58.     public function getSmsNom(): ?string
  59.     {
  60.         return $this->sms_nom;
  61.     }
  62.     public function setSmsNom(?string $sms_nom): self
  63.     {
  64.         $this->sms_nom $sms_nom;
  65.         return $this;
  66.     }
  67.     public function getSmsPrenom(): ?string
  68.     {
  69.         return $this->sms_prenom;
  70.     }
  71.     public function setSmsPrenom(?string $sms_prenom): self
  72.     {
  73.         $this->sms_prenom $sms_prenom;
  74.         return $this;
  75.     }
  76.     public function getSmsTelephone(): ?string
  77.     {
  78.         return $this->sms_telephone;
  79.     }
  80.     public function setSmsTelephone(string $sms_telephone): self
  81.     {
  82.         $this->sms_telephone $sms_telephone;
  83.         return $this;
  84.     }
  85.     public function getSmsImmatriculation(): ?string
  86.     {
  87.         return $this->sms_immatriculation;
  88.     }
  89.     public function setSmsImmatriculation(?string $sms_immatriculation): self
  90.     {
  91.         $this->sms_immatriculation $sms_immatriculation;
  92.         return $this;
  93.     }
  94.     public function getSmsDate(): ?\DateTimeInterface
  95.     {
  96.         return $this->sms_date;
  97.     }
  98.     public function setSmsDate(\DateTimeInterface $sms_date): self
  99.     {
  100.         $this->sms_date $sms_date;
  101.         return $this;
  102.     }
  103.     public function isSmsToDelete(): ?bool
  104.     {
  105.         return $this->sms_to_delete;
  106.     }
  107.     public function setSmsToDelete(bool $sms_to_delete): self
  108.     {
  109.         $this->sms_to_delete $sms_to_delete;
  110.         return $this;
  111.     }
  112.     public function isSmsIsRelance(): ?bool
  113.     {
  114.         return $this->sms_is_relance;
  115.     }
  116.     public function setSmsIsRelance(bool $sms_is_relance): self
  117.     {
  118.         $this->sms_is_relance $sms_is_relance;
  119.         return $this;
  120.     }
  121.     public function getSmsNbEnvoye(): ?int
  122.     {
  123.         return $this->sms_nb_envoye;
  124.     }
  125.     public function setSmsNbEnvoye(int $sms_nb_envoye): self
  126.     {
  127.         $this->sms_nb_envoye $sms_nb_envoye;
  128.         return $this;
  129.     }
  130.     public function getCentre(): ?Centre
  131.     {
  132.         return $this->centre;
  133.     }
  134.     public function setCentre(?Centre $centre): self
  135.     {
  136.         $this->centre $centre;
  137.         return $this;
  138.     }
  139. }