<?php
namespace App\Entity\Gos;
use App\Repository\Gos\EmailIndexRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=EmailIndexRepository::class)
*/
class EmailIndex
{
/**
* @ORM\Id
* @ORM\Column(type="integer", nullable=false, unique=true)
*/
private $emailId;
/**
* @ORM\Column(type="string", length=20)
*/
private $shard;
public function getEmailId(): ?int
{
return $this->emailId;
}
public function setEmailId(?int $emailId): self
{
$this->emailId = $emailId;
return $this;
}
public function getShard(): ?string
{
return $this->shard;
}
public function setShard(string $shard): self
{
$this->shard = $shard;
return $this;
}
}