<?php
namespace Acme\SudcmsBundle\Entity;
use Acme\SudcmsBundle\Repository\PagesBlocsRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Table(name: 'pages_blocs')]
#[ORM\Entity(repositoryClass: PagesBlocsRepository::class)]
class PagesBlocs
{
/**
* @var int
*/
#[ORM\Column(name: 'bloc_id', type: 'integer', nullable: false)]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
private $blocId;
/**
* @var int
*/
#[ORM\Column(name: 'id_page', type: 'integer', nullable: false)]
private $idPage;
/**
* @var string
*/
#[ORM\Column(name: 'bloc_type', type: 'string', length: 0, nullable: false, columnDefinition: "enum('texte','image','texte_image','galerie','embed','html','document','sous_menu','texte_slider','chiffres_cles','carte','formulaire')")]
private $blocType;
/**
* @var int
*/
#[ORM\Column(name: 'bloc_multi_column', type: 'integer', nullable: true, options: ['default' => 0])]
private $blocMultiColumn;
/**
* @var int
*/
#[ORM\Column(name: 'bloc_type_texte_image', type: 'integer', nullable: true, options: ['default' => 0])]
private $blocTypeTexteImage = '0';
/**
* @var string|null
*/
#[ORM\Column(name: 'bloc_titre', type: 'string', length: 300, nullable: true, options: ['default' => null])]
private $blocTitre = NULL;
/**
* @var string|null
*/
#[ORM\Column(name: 'bloc_sstitre', type: 'string', length: 300, nullable: true, options: ['default' => null])]
private $blocSstitre = NULL;
/**
* @var string|null
*/
#[ORM\Column(name: 'bloc_texte', type: 'text', length: 65535, nullable: true, options: ['default' => null])]
private $blocTexte = NULL;
/**
* @var string|null
*/
#[ORM\Column(name: 'bloc_embed', type: 'text', length: 65535, nullable: true, options: ['default' => null])]
private $blocEmbed = NULL;
/**
* @var string|null
*/
#[ORM\Column(name: 'bloc_htmlfile', type: 'string', length: 250, nullable: true, options: ['default' => null])]
private $blocHtmlfile = NULL;
/**
* @var string|null
*/
#[ORM\Column(name: 'bloc_alignement', type: 'string', length: 0, nullable: true, options: ['default' => 'gauche'])]
private $blocAlignement = 'gauche';
/**
* @var int|null
*/
#[ORM\Column(name: 'bloc_ordre', type: 'integer', nullable: true, options: ['default' => null])]
private $blocOrdre = NULL;
/**
* @var bool
*/
#[ORM\Column(name: 'bloc_en_ligne', type: 'boolean', nullable: false)]
private $blocEnLigne = '0';
#[ORM\Column(type: 'string', length: 10, nullable: true)]
private $bloc_chiffre1;
#[ORM\Column(type: 'string', length: 10, nullable: true)]
private $bloc_symbole1;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $bloc_texte_chiffre1;
#[ORM\Column(type: 'string', length: 10, nullable: true)]
private $bloc_chiffre2;
#[ORM\Column(type: 'string', length: 10, nullable: true)]
private $bloc_symbole2;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $bloc_texte_chiffre2;
#[ORM\Column(type: 'string', length: 10, nullable: true)]
private $bloc_chiffre3;
#[ORM\Column(type: 'string', length: 10, nullable: true)]
private $bloc_symbole3;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $bloc_texte_chiffre3;
#[ORM\Column(type: 'string', length: 10, nullable: true)]
private $bloc_chiffre4;
#[ORM\Column(type: 'string', length: 10, nullable: true)]
private $bloc_symbole4;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $bloc_texte_chiffre4;
#[ORM\Column(type: 'string', length: 50, nullable: true)]
private $blocMarginTop;
#[ORM\Column(type: 'string', length: 50, nullable: true)]
private $blocMarginBottom;
#[ORM\Column(type: 'string', length: 255, nullable: true, columnDefinition: "enum('top','middle','bottom')")]
private $bloc_image_position_verticale;
#[ORM\Column(type: 'string', length: 255, nullable: true, columnDefinition: "enum('left','middle','right')")]
private $bloc_image_position_horizontale;
#[ORM\Column(type: 'integer', nullable: true)]
private $bloc_formulaire_id;
#[ORM\Column(type: 'string', length: 6, nullable: true)]
private $blocBgColor;
#[ORM\Column(type: 'string', length: 100, nullable: true, columnDefinition: "enum('page','news','catalog','agenda', 'product)")]
private $elementType;
public function getBlocId(): ?int
{
return $this->blocId;
}
public function getIdPage(): ?int
{
return $this->idPage;
}
public function setIdPage(int $idPage): self
{
$this->idPage = $idPage;
return $this;
}
public function getBlocType(): ?string
{
return $this->blocType;
}
public function setBlocType(string $blocType): self
{
$this->blocType = $blocType;
return $this;
}
public function getBlocTypeTexteImage(): ?int
{
return $this->blocTypeTexteImage;
}
public function setBlocTypeTexteImage(?int $blocTypeTexteImage): self
{
$this->blocTypeTexteImage = $blocTypeTexteImage;
return $this;
}
public function getBlocMultiColumn(): ?int
{
return $this->blocMultiColumn;
}
public function setBlocMultiColumn(?int $blocMultiColumn): self
{
$this->blocMultiColumn = $blocMultiColumn;
return $this;
}
public function getBlocTitre(): ?string
{
return $this->blocTitre;
}
public function setBlocTitre(?string $blocTitre): self
{
$this->blocTitre = $blocTitre;
return $this;
}
public function getBlocSstitre(): ?string
{
return $this->blocSstitre;
}
public function setBlocSstitre(?string $blocSstitre): self
{
$this->blocSstitre = $blocSstitre;
return $this;
}
public function getBlocTexte(): ?string
{
return $this->blocTexte;
}
public function setBlocTexte(?string $blocTexte): self
{
$this->blocTexte = $blocTexte;
return $this;
}
public function getBlocEmbed(): ?string
{
return $this->blocEmbed;
}
public function setBlocEmbed(?string $blocEmbed): self
{
$this->blocEmbed = $blocEmbed;
return $this;
}
public function getBlocHtmlfile(): ?string
{
return $this->blocHtmlfile;
}
public function setBlocHtmlfile(?string $blocHtmlfile): self
{
$this->blocHtmlfile = $blocHtmlfile;
return $this;
}
public function getBlocAlignement(): ?string
{
return $this->blocAlignement;
}
public function setBlocAlignement(?string $blocAlignement): self
{
$this->blocAlignement = $blocAlignement;
return $this;
}
public function getBlocOrdre(): ?int
{
return $this->blocOrdre;
}
public function setBlocOrdre(?int $blocOrdre): self
{
$this->blocOrdre = $blocOrdre;
return $this;
}
public function getBlocEnLigne(): ?bool
{
return $this->blocEnLigne;
}
public function setBlocEnLigne(bool $blocEnLigne): self
{
$this->blocEnLigne = $blocEnLigne;
return $this;
}
public function getBlocChiffre1(): ?string
{
return $this->bloc_chiffre1;
}
public function setBlocChiffre1(?string $bloc_chiffre1): self
{
$this->bloc_chiffre1 = $bloc_chiffre1;
return $this;
}
public function getBlocSymbole1(): ?string
{
return $this->bloc_symbole1;
}
public function setBlocSymbole1(?string $bloc_symbole1): self
{
$this->bloc_symbole1 = $bloc_symbole1;
return $this;
}
public function getBlocTexteChiffre1(): ?string
{
return $this->bloc_texte_chiffre1;
}
public function setBlocTexteChiffre1(?string $bloc_texte_chiffre1): self
{
$this->bloc_texte_chiffre1 = $bloc_texte_chiffre1;
return $this;
}
public function getBlocChiffre2(): ?string
{
return $this->bloc_chiffre2;
}
public function setBlocChiffre2(?string $bloc_chiffre2): self
{
$this->bloc_chiffre2 = $bloc_chiffre2;
return $this;
}
public function getBlocSymbole2(): ?string
{
return $this->bloc_symbole2;
}
public function setBlocSymbole2(?string $bloc_symbole2): self
{
$this->bloc_symbole2 = $bloc_symbole2;
return $this;
}
public function getBlocTexteChiffre2(): ?string
{
return $this->bloc_texte_chiffre2;
}
public function setBlocTexteChiffre2(?string $bloc_texte_chiffre2): self
{
$this->bloc_texte_chiffre2 = $bloc_texte_chiffre2;
return $this;
}
public function getBlocChiffre3(): ?string
{
return $this->bloc_chiffre3;
}
public function setBlocChiffre3(?string $bloc_chiffre3): self
{
$this->bloc_chiffre3 = $bloc_chiffre3;
return $this;
}
public function getBlocSymbole3(): ?string
{
return $this->bloc_symbole3;
}
public function setBlocSymbole3(?string $bloc_symbole3): self
{
$this->bloc_symbole3 = $bloc_symbole3;
return $this;
}
public function getBlocTexteChiffre3(): ?string
{
return $this->bloc_texte_chiffre3;
}
public function setBlocTexteChiffre3(?string $bloc_texte_chiffre3): self
{
$this->bloc_texte_chiffre3 = $bloc_texte_chiffre3;
return $this;
}
public function getBlocChiffre4(): ?string
{
return $this->bloc_chiffre4;
}
public function setBlocChiffre4(?string $bloc_chiffre4): self
{
$this->bloc_chiffre4 = $bloc_chiffre4;
return $this;
}
public function getBlocSymbole4(): ?string
{
return $this->bloc_symbole4;
}
public function setBlocSymbole4(?string $bloc_symbole4): self
{
$this->bloc_symbole4 = $bloc_symbole4;
return $this;
}
public function getBlocTexteChiffre4(): ?string
{
return $this->bloc_texte_chiffre4;
}
public function setBlocTexteChiffre4(?string $bloc_texte_chiffre4): self
{
$this->bloc_texte_chiffre4 = $bloc_texte_chiffre4;
return $this;
}
public function getBlocMarginTop(): ?string
{
return $this->blocMarginTop;
}
public function setBlocMarginTop(?string $blocMarginTop): self
{
$this->blocMarginTop = $blocMarginTop;
return $this;
}
public function getBlocMarginBottom(): ?string
{
return $this->blocMarginBottom;
}
public function setBlocMarginBottom(?string $blocMarginBottom): self
{
$this->blocMarginBottom = $blocMarginBottom;
return $this;
}
public function getBlocImagePositionVerticale(): ?string
{
return $this->bloc_image_position_verticale;
}
public function setBlocImagePositionVerticale(?string $bloc_image_position_verticale): self
{
$this->bloc_image_position_verticale = $bloc_image_position_verticale;
return $this;
}
public function getBlocImagePositionHorizontale(): ?string
{
return $this->bloc_image_position_horizontale;
}
public function setBlocImagePositionHorizontale(?string $bloc_image_position_horizontale): self
{
$this->bloc_image_position_horizontale = $bloc_image_position_horizontale;
return $this;
}
public function getBlocFormulaireId(): ?int
{
return $this->bloc_formulaire_id;
}
public function setBlocFormulaireId(?int $bloc_formulaire_id): self
{
$this->bloc_formulaire_id = $bloc_formulaire_id;
return $this;
}
public function getBlocBgColor(): ?string
{
return $this->blocBgColor;
}
public function setBlocBgColor(?string $blocBgColor): self
{
$this->blocBgColor = $blocBgColor;
return $this;
}
public function getElementType(): ?string
{
return $this->elementType;
}
public function setElementType(?string $elementType): self
{
$this->elementType = $elementType;
return $this;
}
}