<?php
namespace Acme\SudcmsBundle\Entity;
use Acme\SudcmsBundle\Repository\ActualiteRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ActualiteRepository::class)]
class Actualite
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'date')]
private $act_datecreation;
#[ORM\Column(type: 'string', length: 255)]
private $act_titre;
#[ORM\Column(type: 'text', nullable: true)]
private $act_description;
#[ORM\Column(type: 'boolean')]
private $act_enligne;
#[ORM\Column(type: 'integer')]
private $site_uid;
#[ORM\Column(type: 'string', length: 2)]
private $site_lang;
#[ORM\Column(type: 'integer')]
private $act_categ_id;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $act_illustration_fichier;
#[ORM\Column(type: 'date')]
private $act_date_publication;
#[ORM\Column(type: 'integer')]
private $act_id_editor;
public function getId(): ?int
{
return $this->id;
}
public function getActDatecreation(): ?\DateTimeInterface
{
return $this->act_datecreation;
}
public function setActDatecreation(\DateTimeInterface $act_datecreation): self
{
$this->act_datecreation = $act_datecreation;
return $this;
}
public function getActTitre(): ?string
{
return $this->act_titre;
}
public function setActTitre(string $act_titre): self
{
$this->act_titre = $act_titre;
return $this;
}
public function getActDescription(): ?string
{
return $this->act_description;
}
public function setActDescription(?string $act_description): self
{
$this->act_description = $act_description;
return $this;
}
public function getActEnligne(): ?bool
{
return $this->act_enligne;
}
public function setActEnligne(bool $act_enligne): self
{
$this->act_enligne = $act_enligne;
return $this;
}
public function getSiteUid(): ?int
{
return $this->site_uid;
}
public function setSiteUid(int $site_uid): self
{
$this->site_uid = $site_uid;
return $this;
}
public function getSiteLang(): ?string
{
return $this->site_lang;
}
public function setSiteLang(string $site_lang): self
{
$this->site_lang = $site_lang;
return $this;
}
public function getActCategId(): ?int
{
return $this->act_categ_id;
}
public function setActCategId(int $act_categ_id): self
{
$this->act_categ_id = $act_categ_id;
return $this;
}
public function getActIllustrationFichier(): ?string
{
return $this->act_illustration_fichier;
}
public function setActIllustrationFichier(?string $act_illustration_fichier): self
{
$this->act_illustration_fichier = $act_illustration_fichier;
return $this;
}
public function getActDatePublication(): ?\DateTimeInterface
{
return $this->act_date_publication;
}
public function setActDatePublication(\DateTimeInterface $act_date_publication): self
{
$this->act_date_publication = $act_date_publication;
return $this;
}
public function getActIdEditor(): ?int
{
return $this->act_id_editor;
}
public function setActIdEditor(int $act_id_editor): self
{
$this->act_id_editor = $act_id_editor;
return $this;
}
}