<?php
namespace App\Entity;
/**
* Actualite.
*/
class Actualite
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $code;
/**
* @var string
*/
private $titre;
/**
* @var string
*/
private $description;
/**
* @var int
*/
private $ordre;
/**
* @var \DateTime
*/
private $datePublication;
/**
* @var bool
*/
private $statutPublication;
/**
* @var \DateTime
*/
private $createdAt;
/**
* @var \DateTime
*/
private $updatedAt;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set code.
*
* @param string $code
*
* @return Actualite
*/
public function setCode($code)
{
$this->code = $code;
return $this;
}
/**
* Get code.
*
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* Set titre.
*
* @param string $titre
*
* @return Actualite
*/
public function setTitre($titre)
{
$this->titre = $titre;
return $this;
}
/**
* Get titre.
*
* @return string
*/
public function getTitre()
{
return $this->titre;
}
/**
* Set description.
*
* @param string $description
*
* @return Actualite
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description.
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set ordre.
*
* @param int $ordre
*
* @return Actualite
*/
public function setOrdre($ordre)
{
$this->ordre = $ordre;
return $this;
}
/**
* Get ordre.
*
* @return int
*/
public function getOrdre()
{
return $this->ordre;
}
/**
* Set datePublication.
*
* @param \DateTime $datePublication
*
* @return Actualite
*/
public function setDatePublication($datePublication)
{
$this->datePublication = $datePublication;
return $this;
}
/**
* Get datePublication.
*
* @return \DateTime
*/
public function getDatePublication()
{
return $this->datePublication;
}
/**
* Set statutPublication.
*
* @param bool $statutPublication
*
* @return Actualite
*/
public function setStatutPublication($statutPublication)
{
$this->statutPublication = $statutPublication;
return $this;
}
/**
* Get statutPublication.
*
* @return bool
*/
public function getStatutPublication()
{
return $this->statutPublication;
}
/**
* Set createdAt.
*
* @param \DateTime $createdAt
*
* @return Actualite
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt.
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set updatedAt.
*
* @param \DateTime $updatedAt
*
* @return Actualite
*/
public function setUpdatedAt($updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt.
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
public function isStatutPublication(): ?bool
{
return $this->statutPublication;
}
}