<?php
namespace App\ProfileBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use DateTime;
/**
* @ORM\Table(
* name="affiliates_request",
* indexes={
* @ORM\Index(name="ar_created_idx", columns={"created"}),
* @ORM\Index(name="ar_email_idx", columns={"email"})
* }
* )
* @ORM\Entity(repositoryClass="App\ProfileBundle\Repository\AffiliatesRequestRepository")
*/
class AffiliatesRequest
{
/**
* @var int
*
* @ORM\Column(name="id", type="bigint", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string|null
* @ORM\Column(name="name", type="string")
*/
protected ?string $name = null;
/**
* @var string|null
* @ORM\Column(name="email", type="string")
*/
protected ?string $email = null;
/**
* @var string|null
* @ORM\Column(name="website", type="string")
*/
protected ?string $website = null;
/**
* @var string|null
* @ORM\Column(name="message", type="string")
*/
protected ?string $message = null;
/**
* @var DateTime
*
* @ORM\Column(name="created", type="datetime")
*/
private $created;
/**
* @return int|null
*/
public function getId(): ?int
{
return $this->id;
}
/**
* @param int $id
* @return $this
*/
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
/**
* @return string|null
*/
public function getName(): ?string
{
return $this->name;
}
/**
* @param string $name
* @return self
*/
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
/**
* @return string|null
*/
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|null
*/
public function getWebsite(): ?string
{
return $this->website;
}
/**
* @param string $website
* @return $this
*/
public function setWebsite(string $website): self
{
$this->website = $website;
return $this;
}
/**
* @return string|null
*/
public function getMessage(): ?string
{
return $this->message;
}
/**
* @param string $message
* @return $this
*/
public function setMessage(string $message): self
{
$this->message = $message;
return $this;
}
}