src/Entity/ReponsesAO.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ReponsesAORepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassReponsesAORepository::class)]
  6. class ReponsesAO
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'integer')]
  13.     private $TJM_propose;
  14.     #[ORM\Column(type'date'nullabletrue)]
  15.     private $date_reponse;
  16.     #[ORM\Column(type'boolean')]
  17.     private $statut;
  18.     #[ORM\Column(type'string'length255nullabletrue)]
  19.     private $CV;
  20.     #[ORM\ManyToOne(targetEntityConsultants::class, inversedBy'reponsesAOs')]
  21.     #[ORM\JoinColumn(nullablefalse)]
  22.     private $consultant;
  23.     #[ORM\ManyToOne(targetEntityMissions::class, inversedBy'reponsesAOs')]
  24.     #[ORM\JoinColumn(nullablefalse)]
  25.     private $mission;
  26.     #[ORM\Column(type'text'nullabletrue)]
  27.     private $motivation;
  28.     public function getId(): ?int
  29.     {
  30.         return $this->id;
  31.     }
  32.     public function getTJMPropose(): ?int
  33.     {
  34.         return $this->TJM_propose;
  35.     }
  36.     public function setTJMPropose(int $TJM_propose): self
  37.     {
  38.         $this->TJM_propose $TJM_propose;
  39.         return $this;
  40.     }
  41.     public function getDateReponse(): ?\DateTimeInterface
  42.     {
  43.         return $this->date_reponse;
  44.     }
  45.     public function setDateReponse(\DateTimeInterface $date_reponse): self
  46.     {
  47.         $this->date_reponse $date_reponse;
  48.         return $this;
  49.     }
  50.     public function isStatut(): ?bool
  51.     {
  52.         return $this->statut;
  53.     }
  54.     public function setStatut(bool $statut): self
  55.     {
  56.         $this->statut $statut;
  57.         return $this;
  58.     }
  59.     public function getCV(): ?string
  60.     {
  61.         return $this->CV;
  62.     }
  63.     public function setCV(?string $CV): self
  64.     {
  65.         $this->CV $CV;
  66.         return $this;
  67.     }
  68.     public function getConsultant(): ?Consultants
  69.     {
  70.         return $this->consultant;
  71.     }
  72.     public function setConsultant(?Consultants $consultant): self
  73.     {
  74.         $this->consultant $consultant;
  75.         return $this;
  76.     }
  77.     public function getMission(): ?Missions
  78.     {
  79.         return $this->mission;
  80.     }
  81.     public function setMission(?Missions $mission): self
  82.     {
  83.         $this->mission $mission;
  84.         return $this;
  85.     }
  86.     public function getMotivation(): ?string
  87.     {
  88.         return $this->motivation;
  89.     }
  90.     public function setMotivation(?string $motivation): self
  91.     {
  92.         $this->motivation $motivation;
  93.         return $this;
  94.     }
  95. }