src/Entity/Autopromo.php line 9

Open in your IDE?
  1. <?php
  2. namespace Acme\SudcmsBundle\Entity;
  3. use Acme\SudcmsBundle\Repository\AutopromoRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassAutopromoRepository::class)]
  6. class Autopromo
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length150nullabletrue)]
  13.     private $title;
  14.     #[ORM\Column(type'string'length150nullabletrue)]
  15.     private $subtitle;
  16.     #[ORM\Column(type'string'length255nullabletrue)]
  17.     private $image;
  18.     #[ORM\Column(type'integer'nullabletrue)]
  19.     private $section;
  20.     #[ORM\Column(type'string'length255nullabletrue)]
  21.     private $url;
  22.     #[ORM\Column(type'boolean'nullabletrue)]
  23.     private $isOnline;
  24.     #[ORM\Column(type'boolean'nullabletrue)]
  25.     private $isBlank;
  26.     #[ORM\Column(type'integer'nullabletrue)]
  27.     private $autopromoOrder;
  28.     #[ORM\Column(type'string'length50nullabletrue)]
  29.     private $position;
  30.     #[ORM\Column(type'string'length255nullabletrue)]
  31.     private $imageAlt;
  32.     #[ORM\Column(type'datetime')]
  33.     private $creationDatetime;
  34.     #[ORM\Column(type'integer')]
  35.     private $siteUid 1;
  36.     #[ORM\Column(type'string'length2)]
  37.     private $siteLang "fr";
  38.     #[ORM\Column(type'string'length255nullabletrue)]
  39.     private $texte_bouton;
  40.     public function getId(): ?int
  41.     {
  42.         return $this->id;
  43.     }
  44.     public function getTitle(): ?string
  45.     {
  46.         return $this->title;
  47.     }
  48.     public function setTitle(?string $title): self
  49.     {
  50.         $this->title $title;
  51.         return $this;
  52.     }
  53.     public function getSubtitle(): ?string
  54.     {
  55.         return $this->subtitle;
  56.     }
  57.     public function setSubtitle(?string $subtitle): self
  58.     {
  59.         $this->subtitle $subtitle;
  60.         return $this;
  61.     }
  62.     public function getImage(): ?string
  63.     {
  64.         return $this->image;
  65.     }
  66.     public function setImage(?string $image): self
  67.     {
  68.         $this->image $image;
  69.         return $this;
  70.     }
  71.     public function getSection(): ?int
  72.     {
  73.         return $this->section;
  74.     }
  75.     public function setSection(?int $section): self
  76.     {
  77.         $this->section $section;
  78.         return $this;
  79.     }
  80.     public function getUrl(): ?string
  81.     {
  82.         return $this->url;
  83.     }
  84.     public function setUrl(?string $url): self
  85.     {
  86.         $this->url $url;
  87.         return $this;
  88.     }
  89.     public function getIsOnline(): ?bool
  90.     {
  91.         return $this->isOnline;
  92.     }
  93.     public function setIsOnline(?bool $isOnline): self
  94.     {
  95.         $this->isOnline $isOnline;
  96.         return $this;
  97.     }
  98.     public function getIsBlank(): ?bool
  99.     {
  100.         return $this->isBlank;
  101.     }
  102.     public function setIsBlank(?bool $isBlank): self
  103.     {
  104.         $this->isBlank $isBlank;
  105.         return $this;
  106.     }
  107.     public function getAutopromoOrder(): ?int
  108.     {
  109.         return $this->autopromoOrder;
  110.     }
  111.     public function setAutopromoOrder(?int $autopromoOrder): self
  112.     {
  113.         $this->autopromoOrder $autopromoOrder;
  114.         return $this;
  115.     }
  116.     public function getPosition(): ?string
  117.     {
  118.         return $this->position;
  119.     }
  120.     public function setPosition(?string $position): self
  121.     {
  122.         $this->position $position;
  123.         return $this;
  124.     }
  125.     public function getImageAlt(): ?string
  126.     {
  127.         return $this->imageAlt;
  128.     }
  129.     public function setImageAlt(?string $imageAlt): self
  130.     {
  131.         $this->imageAlt $imageAlt;
  132.         return $this;
  133.     }
  134.     public function getCreationDatetime(): ?\DateTimeInterface
  135.     {
  136.         return $this->creationDatetime;
  137.     }
  138.     public function setCreationDatetime(\DateTimeInterface $creationDatetime): self
  139.     {
  140.         $this->creationDatetime $creationDatetime;
  141.         return $this;
  142.     }
  143.     public function getSiteUid(): ?int
  144.     {
  145.         return $this->siteUid;
  146.     }
  147.     public function setSiteUid(int $siteUid): self
  148.     {
  149.         $this->siteUid $siteUid;
  150.         return $this;
  151.     }
  152.     public function getSiteLang(): ?string
  153.     {
  154.         return $this->siteLang;
  155.     }
  156.     public function setSiteLang(string $siteLang): self
  157.     {
  158.         $this->siteLang $siteLang;
  159.         return $this;
  160.     }
  161.     public function getTexteBouton(): ?string
  162.     {
  163.         return $this->texte_bouton;
  164.     }
  165.     public function setTexteBouton(?string $texte_bouton): self
  166.     {
  167.         $this->texte_bouton $texte_bouton;
  168.         return $this;
  169.     }
  170. }