src/Entity/DemandePro.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DemandeProRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=DemandeProRepository::class)
  7.  */
  8. class DemandePro
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=Canal::class, inversedBy="demandePros")
  18.      */
  19.     private $canal;
  20.     /**
  21.      * @ORM\Column(type="datetime")
  22.      */
  23.     private $dateDemande;
  24.     /**
  25.      * @ORM\ManyToOne(targetEntity=Entreprise::class, inversedBy="demandePros")
  26.      */
  27.     private $entreprise;
  28.     /**
  29.      * @ORM\ManyToOne(targetEntity=Site::class, inversedBy="demandePros")
  30.      */
  31.     private $site;
  32.     /**
  33.      * @ORM\ManyToOne(targetEntity=Formation::class, inversedBy="demandePros")
  34.      */
  35.     private $formation;
  36.     /**
  37.      * @ORM\Column(type="text", nullable=true)
  38.      */
  39.     private $demandeSpecifique;
  40.     /**
  41.      * @ORM\Column(type="integer", nullable=true)
  42.      */
  43.     private $nombreSalarier;
  44.     /**
  45.      * @ORM\Column(type="boolean", nullable=true)
  46.      */
  47.     private $projet;
  48.     /**
  49.      * @ORM\Column(type="date", nullable=true)
  50.      */
  51.     private $dateFormation;
  52.     /**
  53.      * @ORM\Column(type="date", nullable=true)
  54.      */
  55.     private $dateReportFormation;
  56.     /**
  57.      * @ORM\Column(type="date", nullable=true)
  58.      */
  59.     private $dateTraitement;
  60.     /**
  61.      * @ORM\Column(type="boolean")
  62.      */
  63.     private $statut;
  64.     /**
  65.      * @ORM\ManyToOne(targetEntity=User::class, inversedBy="demandePros")
  66.      */
  67.     private $executant;
  68.     /**
  69.      * @ORM\Column(type="boolean", nullable=true)
  70.      */
  71.     private $archive;
  72.     /**
  73.      * @ORM\ManyToOne(targetEntity=CalendarEvent::class, inversedBy="demandePros")
  74.      */
  75.     private $calandar;
  76.     public function getId(): ?int
  77.     {
  78.         return $this->id;
  79.     }
  80.     public function getCanal(): ?Canal
  81.     {
  82.         return $this->canal;
  83.     }
  84.     public function setCanal(?Canal $canal): self
  85.     {
  86.         $this->canal $canal;
  87.         return $this;
  88.     }
  89.     public function getDateDemande(): ?\DateTimeInterface
  90.     {
  91.         return $this->dateDemande;
  92.     }
  93.     public function setDateDemande(\DateTimeInterface $dateDemande): self
  94.     {
  95.         $this->dateDemande $dateDemande;
  96.         return $this;
  97.     }
  98.     public function getEntreprise(): ?Entreprise
  99.     {
  100.         return $this->entreprise;
  101.     }
  102.     public function setEntreprise(?Entreprise $entreprise): self
  103.     {
  104.         $this->entreprise $entreprise;
  105.         return $this;
  106.     }
  107.     public function getSite(): ?Site
  108.     {
  109.         return $this->site;
  110.     }
  111.     public function setSite(?Site $site): self
  112.     {
  113.         $this->site $site;
  114.         return $this;
  115.     }
  116.     public function getFormation(): ?Formation
  117.     {
  118.         return $this->formation;
  119.     }
  120.     public function setFormation(?Formation $formation): self
  121.     {
  122.         $this->formation $formation;
  123.         return $this;
  124.     }
  125.     public function getDemandeSpecifique(): ?string
  126.     {
  127.         return $this->demandeSpecifique;
  128.     }
  129.     public function setDemandeSpecifique(?string $demandeSpecifique): self
  130.     {
  131.         $this->demandeSpecifique $demandeSpecifique;
  132.         return $this;
  133.     }
  134.     public function getNombreSalarier(): ?int
  135.     {
  136.         return $this->nombreSalarier;
  137.     }
  138.     public function setNombreSalarier(?int $nombreSalarier): self
  139.     {
  140.         $this->nombreSalarier $nombreSalarier;
  141.         return $this;
  142.     }
  143.     public function isProjet(): ?bool
  144.     {
  145.         return $this->projet;
  146.     }
  147.     public function setProjet(?bool $projet): self
  148.     {
  149.         $this->projet $projet;
  150.         return $this;
  151.     }
  152.     public function getDateFormation(): ?\DateTimeInterface
  153.     {
  154.         return $this->dateFormation;
  155.     }
  156.     public function setDateFormation(?\DateTimeInterface $dateFormation): self
  157.     {
  158.         $this->dateFormation $dateFormation;
  159.         return $this;
  160.     }
  161.     public function getDateReportFormation(): ?\DateTimeInterface
  162.     {
  163.         return $this->dateReportFormation;
  164.     }
  165.     public function setDateReportFormation(?\DateTimeInterface $dateReportFormation): self
  166.     {
  167.         $this->dateReportFormation $dateReportFormation;
  168.         return $this;
  169.     }
  170.     public function getDateTraitement(): ?\DateTimeInterface
  171.     {
  172.         return $this->dateTraitement;
  173.     }
  174.     public function setDateTraitement(?\DateTimeInterface $dateTraitement): self
  175.     {
  176.         $this->dateTraitement $dateTraitement;
  177.         return $this;
  178.     }
  179.     public function isStatut(): ?bool
  180.     {
  181.         return $this->statut;
  182.     }
  183.     public function setStatut(bool $statut): self
  184.     {
  185.         $this->statut $statut;
  186.         return $this;
  187.     }
  188.     public function getExecutant(): ?User
  189.     {
  190.         return $this->executant;
  191.     }
  192.     public function setExecutant(?User $executant): self
  193.     {
  194.         $this->executant $executant;
  195.         return $this;
  196.     }
  197.     public function isArchive(): ?bool
  198.     {
  199.         return $this->archive;
  200.     }
  201.     public function setArchive(?bool $archive): self
  202.     {
  203.         $this->archive $archive;
  204.         return $this;
  205.     }
  206.     public function getCalandar(): ?CalendarEvent
  207.     {
  208.         return $this->calandar;
  209.     }
  210.     public function setCalandar(?CalendarEvent $calandar): self
  211.     {
  212.         $this->calandar $calandar;
  213.         return $this;
  214.     }
  215. }