add highlight report

This commit is contained in:
2025-09-27 21:09:59 +02:00
parent ed1d991a84
commit 2eb770a328
11 changed files with 207 additions and 7 deletions
+16
View File
@@ -2,6 +2,7 @@
namespace App\Entity;
use App\Enum\ReportHighlight;
use App\Repository\ClientsRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
@@ -50,6 +51,9 @@ class Clients
#[ORM\Column(nullable: true)]
private ?int $intPhone = null;
#[ORM\Column(enumType: ReportHighlight::class, options: ["default" => "0"])]
private ReportHighlight $highlight = ReportHighlight::STANDARD;
public function __construct()
{
$this->schedules = new ArrayCollection();
@@ -198,4 +202,16 @@ class Clients
return $this;
}
public function getHighlight(): ReportHighlight
{
return $this->highlight;
}
public function setHighlight(ReportHighlight $highlight): static
{
$this->highlight = $highlight;
return $this;
}
}