initial commit

This commit is contained in:
2024-07-25 10:54:27 +02:00
parent 3a922fd5bc
commit d2ae809b98
113 changed files with 19295 additions and 2522 deletions
+69
View File
@@ -0,0 +1,69 @@
<?php
namespace App\Entity;
use App\Enum\ReportStatus;
use App\Enum\ReportTodoEnum;
use App\Repository\ReportsTodoRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ReportsTodoRepository::class)]
class ReportsTodo
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: Types::SMALLINT, enumType: ReportTodoEnum::class)]
private ?ReportTodoEnum $name = null;
#[ORM\ManyToOne]
#[ORM\JoinColumn(referencedColumnName: 'id', nullable: false)]
private ?Reports $report = null;
#[ORM\Column(options: ["default" => false])]
private ?bool $deleted = false;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ReportTodoEnum
{
return $this->name;
}
public function setName(ReportTodoEnum $name): static
{
$this->name = $name;
return $this;
}
public function getReport(): ?Reports
{
return $this->report;
}
public function setReport(?Reports $report): static
{
$this->report = $report;
return $this;
}
public function isDeleted(): ?bool
{
return $this->deleted;
}
public function setDeleted(bool $deleted): static
{
$this->deleted = $deleted;
return $this;
}
}