<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*/
class MailType
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*
* @var int
*/
protected $id;
/**
* @ORM\Column(type="string")
*
* @var string
*/
protected $type;
/**
* @ORM\Column(type="boolean")
*
* @var bool
*/
protected $mustArchive;
public function getId(): int
{
return $this->id;
}
public function setId(int $id): MailType
{
$this->id = $id;
return $this;
}
public function getType(): string
{
return $this->type;
}
public function setType(string $type): MailType
{
$this->type = $type;
return $this;
}
public function getMustArchive(): bool
{
return $this->mustArchive;
}
public function setMustArchive(bool $mustArchive): MailType
{
$this->mustArchive = $mustArchive;
return $this;
}
}