src/Entity/JustifFourni.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\JustifFourniRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=JustifFourniRepository::class)
  7.  */
  8. class JustifFourni
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=JustifForm::class)
  18.      */
  19.     private $justifform;
  20.     /**
  21.      * @ORM\Column(type="integer", nullable=true)
  22.      */
  23.     private $state;
  24.     /**
  25.      * @ORM\ManyToOne(targetEntity=Inscrit::class, inversedBy="justiffourni")
  26.      */
  27.     private $inscrit;
  28.     /**
  29.      * @ORM\Column(type="text", nullable=true)
  30.      */
  31.     private $filepath;
  32.     /**
  33.      * @ORM\Column(type="boolean", nullable=true)
  34.      */
  35.     private $buttonswitch;
  36.     public function getId(): ?int
  37.     {
  38.         return $this->id;
  39.     }
  40.     public function getJustifform(): ?JustifForm
  41.     {
  42.         return $this->justifform;
  43.     }
  44.     public function setJustifform(?JustifForm $justifform): self
  45.     {
  46.         $this->justifform $justifform;
  47.         return $this;
  48.     }
  49.     public function getState(): ?int
  50.     {
  51.         return $this->state;
  52.     }
  53.     public function setState(?int $state): self
  54.     {
  55.         $this->state $state;
  56.         return $this;
  57.     }
  58.     public function getInscrit(): ?Inscrit
  59.     {
  60.         return $this->inscrit;
  61.     }
  62.     public function setInscrit(?Inscrit $inscrit): self
  63.     {
  64.         $this->inscrit $inscrit;
  65.         return $this;
  66.     }
  67.     public function getFilepath(): ?string
  68.     {
  69.         return $this->filepath;
  70.     }
  71.     public function setFilepath(string $filepath): self
  72.     {
  73.         $this->filepath $filepath;
  74.         return $this;
  75.     }
  76.     public function isButtonswitch(): ?bool
  77.     {
  78.         return $this->buttonswitch;
  79.     }
  80.     public function setButtonswitch(?bool $buttonswitch): self
  81.     {
  82.         $this->buttonswitch $buttonswitch;
  83.         return $this;
  84.     }
  85. }