<?php
namespace Acme\SudcmsBundle\Entity;
use Acme\SudcmsBundle\Repository\AutopromoRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: AutopromoRepository::class)]
class Autopromo
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 150, nullable: true)]
private $title;
#[ORM\Column(type: 'string', length: 150, nullable: true)]
private $subtitle;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $image;
#[ORM\Column(type: 'integer', nullable: true)]
private $section;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $url;
#[ORM\Column(type: 'boolean', nullable: true)]
private $isOnline;
#[ORM\Column(type: 'boolean', nullable: true)]
private $isBlank;
#[ORM\Column(type: 'integer', nullable: true)]
private $autopromoOrder;
#[ORM\Column(type: 'string', length: 50, nullable: true)]
private $position;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $imageAlt;
#[ORM\Column(type: 'datetime')]
private $creationDatetime;
#[ORM\Column(type: 'integer')]
private $siteUid = 1;
#[ORM\Column(type: 'string', length: 2)]
private $siteLang = "fr";
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $texte_bouton;
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(?string $title): self
{
$this->title = $title;
return $this;
}
public function getSubtitle(): ?string
{
return $this->subtitle;
}
public function setSubtitle(?string $subtitle): self
{
$this->subtitle = $subtitle;
return $this;
}
public function getImage(): ?string
{
return $this->image;
}
public function setImage(?string $image): self
{
$this->image = $image;
return $this;
}
public function getSection(): ?int
{
return $this->section;
}
public function setSection(?int $section): self
{
$this->section = $section;
return $this;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setUrl(?string $url): self
{
$this->url = $url;
return $this;
}
public function getIsOnline(): ?bool
{
return $this->isOnline;
}
public function setIsOnline(?bool $isOnline): self
{
$this->isOnline = $isOnline;
return $this;
}
public function getIsBlank(): ?bool
{
return $this->isBlank;
}
public function setIsBlank(?bool $isBlank): self
{
$this->isBlank = $isBlank;
return $this;
}
public function getAutopromoOrder(): ?int
{
return $this->autopromoOrder;
}
public function setAutopromoOrder(?int $autopromoOrder): self
{
$this->autopromoOrder = $autopromoOrder;
return $this;
}
public function getPosition(): ?string
{
return $this->position;
}
public function setPosition(?string $position): self
{
$this->position = $position;
return $this;
}
public function getImageAlt(): ?string
{
return $this->imageAlt;
}
public function setImageAlt(?string $imageAlt): self
{
$this->imageAlt = $imageAlt;
return $this;
}
public function getCreationDatetime(): ?\DateTimeInterface
{
return $this->creationDatetime;
}
public function setCreationDatetime(\DateTimeInterface $creationDatetime): self
{
$this->creationDatetime = $creationDatetime;
return $this;
}
public function getSiteUid(): ?int
{
return $this->siteUid;
}
public function setSiteUid(int $siteUid): self
{
$this->siteUid = $siteUid;
return $this;
}
public function getSiteLang(): ?string
{
return $this->siteLang;
}
public function setSiteLang(string $siteLang): self
{
$this->siteLang = $siteLang;
return $this;
}
public function getTexteBouton(): ?string
{
return $this->texte_bouton;
}
public function setTexteBouton(?string $texte_bouton): self
{
$this->texte_bouton = $texte_bouton;
return $this;
}
}