<?phpnamespace App\Entity\Gos;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Table(name="salesmanago_opt_out") * @ORM\Entity(repositoryClass="App\Repository\SalesManagoOptOutRepository") * @ORM\HasLifecycleCallbacks */class SalesManagoOptOut{ /** * @ORM\Column(type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="IDENTITY") */ private $id; /** * @ORM\Column(type="string", length=255, nullable=false) */ private $email; /** * @ORM\Column(type="boolean", nullable=true, options={"default": null}) */ private $fromSm; /** * @ORM\Column(type="text") */ private $gotData; /** * @ORM\Column(type="datetime") */ private $createdAt; /** @ORM\PrePersist() */ public function prePersist() { $this->createdAt = new \DateTime(); } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set email * * @param string $email * * @return SalesManagoOptOut */ public function setEmail($email): self { $this->email = $email; return $this; } /** * Get email * * @return string */ public function getEmail() { return $this->email; } /** * Set createdAt * * @param \DateTime $createdAt * * @return SalesManagoOptOut */ public function setCreatedAt($createdAt) { $this->createdAt = $createdAt; return $this; } /** * Get createdAt * * @return \DateTime */ public function getCreatedAt() { return $this->createdAt; } /** * Set fromSm * * @param boolean $fromSm * * @return SalesManagoOptOut */ public function setFromSm($fromSm): self { $this->fromSm = $fromSm; return $this; } /** * Get fromSm * * @return boolean */ public function getFromSm() { return $this->fromSm; } /** * Set gotData * * @param string $gotData * * @return SalesManagoOptOut */ public function setGotData($gotData): self { $this->gotData = $gotData; return $this; } /** * Get gotData * * @return string */ public function getGotData() { return $this->gotData; }}