src/Entity/MailType.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity
  6.  */
  7. class MailType
  8. {
  9.     /**
  10.      * @ORM\Id
  11.      * @ORM\GeneratedValue
  12.      * @ORM\Column(type="integer")
  13.      *
  14.      * @var int
  15.      */
  16.     protected $id;
  17.     /**
  18.      * @ORM\Column(type="string")
  19.      *
  20.      * @var string
  21.      */
  22.     protected $type;
  23.     /**
  24.      * @ORM\Column(type="boolean")
  25.      *
  26.      * @var bool
  27.      */
  28.     protected $mustArchive;
  29.     public function getId(): int
  30.     {
  31.         return $this->id;
  32.     }
  33.     public function setId(int $id): MailType
  34.     {
  35.         $this->id $id;
  36.         return $this;
  37.     }
  38.     public function getType(): string
  39.     {
  40.         return $this->type;
  41.     }
  42.     public function setType(string $type): MailType
  43.     {
  44.         $this->type $type;
  45.         return $this;
  46.     }
  47.     public function getMustArchive(): bool
  48.     {
  49.         return $this->mustArchive;
  50.     }
  51.     public function setMustArchive(bool $mustArchive): MailType
  52.     {
  53.         $this->mustArchive $mustArchive;
  54.         return $this;
  55.     }
  56. }