Deprecated : Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 58
Deprecated : Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler
<?php
namespace App\Entity ;
use App\Repository\DiscountBannerRepository ;
use DateTimeInterface ;
use Doctrine\DBAL\Types\Types ;
use Doctrine\ORM\Mapping as ORM ;
#[ORM\Entity ( repositoryClass : DiscountBannerRepository ::class)]
class DiscountBanner
{
public const ID = 1 ;
#[ORM\Id ]
#[ORM\GeneratedValue ]
#[ORM\Column ]
private ?int $id = null ;
#[ORM\Column ( type : Types :: TEXT )]
private ?string $content = null ;
#[ORM\Column ( type : Types :: DATETIME_MUTABLE , nullable : true )]
private ?DateTimeInterface $dateStart = null ;
#[ORM\Column ( type : Types :: DATETIME_MUTABLE , nullable : true )]
private ?DateTimeInterface $dateEnd = null ;
#[ORM\Column ]
private bool $active = true ;
public function getId (): ? int
{
return $this -> id ;
}
public function getContent (): ? string
{
return $this -> content ;
}
public function setContent ( string $content ): self
{
$this -> content = $content ;
return $this ;
}
public function getDateStart (): ? DateTimeInterface
{
return $this -> dateStart ;
}
public function setDateStart (? DateTimeInterface $dateStart ): self
{
$this -> dateStart = $dateStart ;
return $this ;
}
public function getDateEnd (): ? DateTimeInterface
{
return $this -> dateEnd ;
}
public function setDateEnd (? DateTimeInterface $dateEnd ): self
{
$this -> dateEnd = $dateEnd ;
return $this ;
}
public function isActive (): ? bool
{
return $this -> active ;
}
public function setActive ( bool $active ): self
{
$this -> active = $active ;
return $this ;
}
}