<?phpnamespace App\Entity;use App\Repository\SmsRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=SmsRepository::class) */class Sms{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $sms_nom; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $sms_prenom; /** * @ORM\Column(type="string", length=255) */ private $sms_telephone; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $sms_immatriculation; /** * @ORM\Column(type="datetime") */ private $sms_date; /** * @ORM\Column(type="boolean") */ private $sms_to_delete; /** * @ORM\Column(type="boolean") */ private $sms_is_relance; /** * @ORM\Column(type="integer") */ private $sms_nb_envoye; /** * @ORM\ManyToOne(targetEntity=Centre::class, inversedBy="sms") * @ORM\JoinColumn(nullable=false) */ private $centre; public function getId(): ?int { return $this->id; } public function getSmsNom(): ?string { return $this->sms_nom; } public function setSmsNom(?string $sms_nom): self { $this->sms_nom = $sms_nom; return $this; } public function getSmsPrenom(): ?string { return $this->sms_prenom; } public function setSmsPrenom(?string $sms_prenom): self { $this->sms_prenom = $sms_prenom; return $this; } public function getSmsTelephone(): ?string { return $this->sms_telephone; } public function setSmsTelephone(string $sms_telephone): self { $this->sms_telephone = $sms_telephone; return $this; } public function getSmsImmatriculation(): ?string { return $this->sms_immatriculation; } public function setSmsImmatriculation(?string $sms_immatriculation): self { $this->sms_immatriculation = $sms_immatriculation; return $this; } public function getSmsDate(): ?\DateTimeInterface { return $this->sms_date; } public function setSmsDate(\DateTimeInterface $sms_date): self { $this->sms_date = $sms_date; return $this; } public function isSmsToDelete(): ?bool { return $this->sms_to_delete; } public function setSmsToDelete(bool $sms_to_delete): self { $this->sms_to_delete = $sms_to_delete; return $this; } public function isSmsIsRelance(): ?bool { return $this->sms_is_relance; } public function setSmsIsRelance(bool $sms_is_relance): self { $this->sms_is_relance = $sms_is_relance; return $this; } public function getSmsNbEnvoye(): ?int { return $this->sms_nb_envoye; } public function setSmsNbEnvoye(int $sms_nb_envoye): self { $this->sms_nb_envoye = $sms_nb_envoye; return $this; } public function getCentre(): ?Centre { return $this->centre; } public function setCentre(?Centre $centre): self { $this->centre = $centre; return $this; }}