src/Entity/InfoLocale.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use DateTimeInterface;
  5. /**
  6.  * @ORM\Entity()
  7.  */
  8. class InfoLocale
  9. {
  10.     /**
  11.      * @ORM\Id()
  12.      * @ORM\GeneratedValue()
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private ?int $id null;
  16.     /**
  17.      * @ORM\Column(type="string", length=255, nullable=true)
  18.      */
  19.     private ?string $name null;
  20.     /**
  21.      * @ORM\Column(type="string", length=255, nullable=true)
  22.      */
  23.     private ?string $title null;
  24.     /**
  25.      * @ORM\Column(type="text", nullable=true)
  26.      */
  27.     private ?string $content null;
  28.     /**
  29.      * @ORM\Column(type="datetime", nullable=true)
  30.      */
  31.     private ?DateTimeInterface $publicationStart null;
  32.     /**
  33.      * @ORM\Column(type="datetime", nullable=true)
  34.      */
  35.     private ?DateTimeInterface $publicationEnd null;
  36.     public function __construct()
  37.     {
  38.     }
  39.     public function getId(): ?int
  40.     {
  41.         return $this->id;
  42.     }
  43.     public function getName(): ?string
  44.     {
  45.         return $this->name;
  46.     }
  47.     public function setName(?string $name) : self
  48.     {
  49.         $this->name $name;
  50.         return $this;
  51.     }
  52.     public function getTitle(): ?string
  53.     {
  54.         return $this->title;
  55.     }
  56.     public function setTitle(?string $title) : self
  57.     {
  58.         $this->title $title;
  59.         return $this;
  60.     }
  61.     public function getContent(): ?string
  62.     {
  63.         return $this->content;
  64.     }
  65.     public function setContent(?string $content) : self
  66.     {
  67.         $this->content $content;
  68.         return $this;
  69.     }
  70.     public function getPublicationStart(): ?DateTimeInterface
  71.     {
  72.         return $this->publicationStart;
  73.     }
  74.     public function setPublicationStart(?DateTimeInterface $publicationStart) : self
  75.     {
  76.         $this->publicationStart $publicationStart;
  77.         return $this;
  78.     }
  79.     public function getPublicationEnd(): ?DateTimeInterface
  80.     {
  81.         return $this->publicationEnd;
  82.     }
  83.     public function setPublicationEnd(?DateTimeInterface $publicationEnd) : self
  84.     {
  85.         $this->publicationEnd $publicationEnd;
  86.         return $this;
  87.     }
  88. }