src/Entity/ContactHistorique.php line 8

Open in your IDE?
  1. <?php
  2. namespace Acme\SudcmsBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Entity(repositoryClass'Acme\SudcmsBundle\Repository\ContactHistoriqueRepository')]
  5. class ContactHistorique
  6. {
  7.     #[ORM\Id]
  8.     #[ORM\GeneratedValue]
  9.     #[ORM\Column(type'integer')]
  10.     private $id;
  11.     #[ORM\Column(type'string'length255nullabletrue)]
  12.     private $nom;
  13.     #[ORM\Column(type'string'length255nullabletrue)]
  14.     private $prenom;
  15.     #[ORM\Column(type'string'length255nullabletrue)]
  16.     private $sujet;
  17.     #[ORM\Column(type'text'nullabletrue)]
  18.     private $message;
  19.     #[ORM\Column(type'string'length255nullabletrue)]
  20.     private $societe;
  21.     #[ORM\Column(type'string'length255nullabletrue)]
  22.     private $adresse;
  23.     #[ORM\Column(type'integer'nullabletrue)]
  24.     private $cp;
  25.     #[ORM\Column(type'string'length255nullabletrue)]
  26.     private $ville;
  27.     #[ORM\Column(type'integer'nullabletrue)]
  28.     private $siteUid;
  29.     #[ORM\Column(type'string'length10nullabletrue)]
  30.     private $siteLang;
  31.     /**
  32.      * @var bool|null
  33.      */
  34.     #[ORM\Column(type'boolean'nullabletrue)]
  35.     private $acceptRec;
  36.     #[ORM\Column(type'datetime'nullabletrue)]
  37.     private $creationDatetime;
  38.     #[ORM\Column(type'string'length100nullabletrue)]
  39.     private $email;
  40.     #[ORM\Column(type'string'length50nullabletrue)]
  41.     private $tel;
  42.     #[ORM\ManyToOne(targetEntity'Acme\SudcmsBundle\Entity\FormSite')]
  43.     private $source;
  44.     public function getId(): ?int
  45.     {
  46.         return $this->id;
  47.     }
  48.     public function getNom(): ?string
  49.     {
  50.         return $this->nom;
  51.     }
  52.     public function setNom(?string $nom): self
  53.     {
  54.         $this->nom $nom;
  55.         return $this;
  56.     }
  57.     public function getPrenom(): ?string
  58.     {
  59.         return $this->prenom;
  60.     }
  61.     public function setPrenom(string $prenom): self
  62.     {
  63.         $this->prenom $prenom;
  64.         return $this;
  65.     }
  66.     public function getSujet(): ?string
  67.     {
  68.         return $this->sujet;
  69.     }
  70.     public function setSujet(?string $sujet): self
  71.     {
  72.         $this->sujet $sujet;
  73.         return $this;
  74.     }
  75.     public function getMessage(): ?string
  76.     {
  77.         return $this->message;
  78.     }
  79.     public function setMessage(?string $message): self
  80.     {
  81.         $this->message $message;
  82.         return $this;
  83.     }
  84.     public function getSociete(): ?string
  85.     {
  86.         return $this->societe;
  87.     }
  88.     public function setSociete(?string $societe): self
  89.     {
  90.         $this->societe $societe;
  91.         return $this;
  92.     }
  93.     public function getAdresse(): ?string
  94.     {
  95.         return $this->adresse;
  96.     }
  97.     public function setAdresse(?string $adresse): self
  98.     {
  99.         $this->adresse $adresse;
  100.         return $this;
  101.     }
  102.     public function getCp(): ?int
  103.     {
  104.         return $this->cp;
  105.     }
  106.     public function setCp(?int $cp): self
  107.     {
  108.         $this->cp $cp;
  109.         return $this;
  110.     }
  111.     public function getVille(): ?string
  112.     {
  113.         return $this->ville;
  114.     }
  115.     public function setVille(?string $ville): self
  116.     {
  117.         $this->ville $ville;
  118.         return $this;
  119.     }
  120.     public function getSiteUid(): ?int
  121.     {
  122.         return $this->siteUid;
  123.     }
  124.     public function setSiteUid(?int $siteUid): self
  125.     {
  126.         $this->siteUid $siteUid;
  127.         return $this;
  128.     }
  129.     public function getSiteLang(): ?string
  130.     {
  131.         return $this->siteLang;
  132.     }
  133.     public function setSiteLang(?string $siteLang): self
  134.     {
  135.         $this->siteLang $siteLang;
  136.         return $this;
  137.     }
  138.     public function getAcceptRec(): ?string
  139.     {
  140.         return $this->acceptRec;
  141.     }
  142.     public function setAcceptRec(?string $acceptRec): self
  143.     {
  144.         $this->acceptRec $acceptRec;
  145.         return $this;
  146.     }
  147.     public function getCreationDatetime(): ?\DateTimeInterface
  148.     {
  149.         return $this->creationDatetime;
  150.     }
  151.     public function setCreationDatetime(\DateTimeInterface $creationDatetime): self
  152.     {
  153.         $this->creationDatetime $creationDatetime;
  154.         return $this;
  155.     }
  156.     public function getEmail(): ?string
  157.     {
  158.         return $this->email;
  159.     }
  160.     public function setEmail(string $email): self
  161.     {
  162.         $this->email $email;
  163.         return $this;
  164.     }
  165.     public function getTel(): ?string
  166.     {
  167.         return $this->tel;
  168.     }
  169.     public function setTel(?string $tel): self
  170.     {
  171.         $this->tel $tel;
  172.         return $this;
  173.     }
  174.     public function getSource(): ?FormSite
  175.     {
  176.         return $this->source;
  177.     }
  178.     public function setSource(?FormSite $source): self
  179.     {
  180.         $this->source $source;
  181.         return $this;
  182.     }
  183. }