<?php
namespace Acme\SudcmsBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: 'Acme\SudcmsBundle\Repository\ContactHistoriqueRepository')]
class ContactHistorique
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $nom;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $prenom;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $sujet;
#[ORM\Column(type: 'text', nullable: true)]
private $message;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $societe;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $adresse;
#[ORM\Column(type: 'integer', nullable: true)]
private $cp;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $ville;
#[ORM\Column(type: 'integer', nullable: true)]
private $siteUid;
#[ORM\Column(type: 'string', length: 10, nullable: true)]
private $siteLang;
/**
* @var bool|null
*/
#[ORM\Column(type: 'boolean', nullable: true)]
private $acceptRec;
#[ORM\Column(type: 'datetime', nullable: true)]
private $creationDatetime;
#[ORM\Column(type: 'string', length: 100, nullable: true)]
private $email;
#[ORM\Column(type: 'string', length: 50, nullable: true)]
private $tel;
#[ORM\ManyToOne(targetEntity: 'Acme\SudcmsBundle\Entity\FormSite')]
private $source;
public function getId(): ?int
{
return $this->id;
}
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(?string $nom): self
{
$this->nom = $nom;
return $this;
}
public function getPrenom(): ?string
{
return $this->prenom;
}
public function setPrenom(string $prenom): self
{
$this->prenom = $prenom;
return $this;
}
public function getSujet(): ?string
{
return $this->sujet;
}
public function setSujet(?string $sujet): self
{
$this->sujet = $sujet;
return $this;
}
public function getMessage(): ?string
{
return $this->message;
}
public function setMessage(?string $message): self
{
$this->message = $message;
return $this;
}
public function getSociete(): ?string
{
return $this->societe;
}
public function setSociete(?string $societe): self
{
$this->societe = $societe;
return $this;
}
public function getAdresse(): ?string
{
return $this->adresse;
}
public function setAdresse(?string $adresse): self
{
$this->adresse = $adresse;
return $this;
}
public function getCp(): ?int
{
return $this->cp;
}
public function setCp(?int $cp): self
{
$this->cp = $cp;
return $this;
}
public function getVille(): ?string
{
return $this->ville;
}
public function setVille(?string $ville): self
{
$this->ville = $ville;
return $this;
}
public function getSiteUid(): ?int
{
return $this->siteUid;
}
public function setSiteUid(?int $siteUid): self
{
$this->siteUid = $siteUid;
return $this;
}
public function getSiteLang(): ?string
{
return $this->siteLang;
}
public function setSiteLang(?string $siteLang): self
{
$this->siteLang = $siteLang;
return $this;
}
public function getAcceptRec(): ?string
{
return $this->acceptRec;
}
public function setAcceptRec(?string $acceptRec): self
{
$this->acceptRec = $acceptRec;
return $this;
}
public function getCreationDatetime(): ?\DateTimeInterface
{
return $this->creationDatetime;
}
public function setCreationDatetime(\DateTimeInterface $creationDatetime): self
{
$this->creationDatetime = $creationDatetime;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function getTel(): ?string
{
return $this->tel;
}
public function setTel(?string $tel): self
{
$this->tel = $tel;
return $this;
}
public function getSource(): ?FormSite
{
return $this->source;
}
public function setSource(?FormSite $source): self
{
$this->source = $source;
return $this;
}
}