<?php
namespace Cms\Modules\PeopleBundle\Entity;
use Cms\TenantBundle\Entity\TenantedEntity;
use Doctrine\ORM\Mapping as ORM;
/**
* Class ContactSubmission
* @package Cms\Modules\PeopleBundle\Entity
*
* @ORM\Entity(
* repositoryClass = "Cms\Modules\PeopleBundle\Doctrine\ContactSubmissionRepository"
* )
* @ORM\Table(
* name = "cms__modules__people__contact_submission"
* )
*/
class ContactSubmission extends TenantedEntity
{
/**
* @var string
*
* @ORM\Column(
* type = "string",
* nullable = false
* )
*/
protected string $ip;
/**
* @var bool
*
* @ORM\Column(
* type = "boolean",
* nullable = false,
* options = {
* "default" = false
* }
* )
*/
protected bool $status = false;
/**
* @var string
*/
protected string $email;
/**
* @var string
*/
protected string $name;
/**
* @var string
*/
protected string $formName;
/**
* @var string
*/
protected string $formEmail;
/**
* @var string
*/
protected string $formMessage;
/**
* @return string
*/
public function getIp(): string
{
return $this->ip;
}
/**
* @param string $ip
* @return $this
*/
public function setIp(string $ip): self
{
$this->ip = $ip;
return $this;
}
/**
* @return bool
*/
public function getStatus(): bool
{
return $this->status;
}
/**
* @param bool $status
* @return $this
*/
public function setStatus(bool $status): self
{
$this->status = $status;
return $this;
}
/**
* @return string
*/
public function getEmail(): string
{
return $this->email;
}
/**
* @param string $email
* @return $this
*/
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
/**
* @return string
*/
public function getName(): string
{
return $this->name;
}
/**
* @param string $name
* @return $this
*/
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
/**
* @return string
*/
public function getFormName(): string
{
return $this->formName;
}
/**
* @param string $formName
* @return $this
*/
public function setFormName(string $formName): self
{
$this->formName = $formName;
return $this;
}
/**
* @return string
*/
public function getFormEmail(): string
{
return $this->formEmail;
}
/**
* @param string $formEmail
* @return $this
*/
public function setFormEmail(string $formEmail): self
{
$this->formEmail = $formEmail;
return $this;
}
/**
* @return string
*/
public function getFormMessage(): string
{
return $this->formMessage;
}
/**
* @param string $formMessage
* @return $this
*/
public function setFormMessage(string $formMessage): self
{
$this->formMessage = $formMessage;
return $this;
}
}