<?phpnamespace App\Entity;use App\Repository\JustifFourniRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=JustifFourniRepository::class) */class JustifFourni{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=JustifForm::class) */ private $justifform; /** * @ORM\Column(type="integer", nullable=true) */ private $state; /** * @ORM\ManyToOne(targetEntity=Inscrit::class, inversedBy="justiffourni") */ private $inscrit; /** * @ORM\Column(type="text", nullable=true) */ private $filepath; /** * @ORM\Column(type="boolean", nullable=true) */ private $buttonswitch; public function getId(): ?int { return $this->id; } public function getJustifform(): ?JustifForm { return $this->justifform; } public function setJustifform(?JustifForm $justifform): self { $this->justifform = $justifform; return $this; } public function getState(): ?int { return $this->state; } public function setState(?int $state): self { $this->state = $state; return $this; } public function getInscrit(): ?Inscrit { return $this->inscrit; } public function setInscrit(?Inscrit $inscrit): self { $this->inscrit = $inscrit; return $this; } public function getFilepath(): ?string { return $this->filepath; } public function setFilepath(string $filepath): self { $this->filepath = $filepath; return $this; } public function isButtonswitch(): ?bool { return $this->buttonswitch; } public function setButtonswitch(?bool $buttonswitch): self { $this->buttonswitch = $buttonswitch; return $this; }}