src/Entity/OffreRecherche.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\OffreRechercheRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassOffreRechercheRepository::class)]
  7. class OffreRecherche
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(nullabletrue)]
  14.     private ?int $type null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $titre null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $duree null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $description null;
  21.     #[ORM\Column(length255nullabletrue)]
  22.     private ?string $reference null;
  23.     #[ORM\Column(length255nullabletrue)]
  24.     private ?string $competence null;
  25.     #[ORM\Column(length255nullabletrue)]
  26.     private ?string $document null;
  27.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  28.     private ?\DateTimeInterface $dateFinCandidature null;
  29.     #[ORM\Column(length255nullabletrue)]
  30.     private ?string $methodeCandidat null;
  31.     #[ORM\Column(typeTypes::BLOBnullabletrue)]
  32.     private $pieceJointe null;
  33.     #[ORM\Column(nullabletrue)]
  34.     private ?int $etat null;
  35.     #[ORM\ManyToOne(inversedBy'offreRecherches')]
  36.     private ?StructureRecherche $structure null;
  37.     public function getId(): ?int
  38.     {
  39.         return $this->id;
  40.     }
  41.     public function getType(): ?int
  42.     {
  43.         return $this->type;
  44.     }
  45.     public function setType(?int $type): self
  46.     {
  47.         $this->type $type;
  48.         return $this;
  49.     }
  50.     public function getTitre(): ?string
  51.     {
  52.         return $this->titre;
  53.     }
  54.     public function setTitre(?string $titre): self
  55.     {
  56.         $this->titre $titre;
  57.         return $this;
  58.     }
  59.     public function getDuree(): ?string
  60.     {
  61.         return $this->duree;
  62.     }
  63.     public function setDuree(?string $duree): self
  64.     {
  65.         $this->duree $duree;
  66.         return $this;
  67.     }
  68.     public function getDescription(): ?string
  69.     {
  70.         return $this->description;
  71.     }
  72.     public function setDescription(?string $description): self
  73.     {
  74.         $this->description $description;
  75.         return $this;
  76.     }
  77.     public function getReference(): ?string
  78.     {
  79.         return $this->reference;
  80.     }
  81.     public function setReference(?string $reference): self
  82.     {
  83.         $this->reference $reference;
  84.         return $this;
  85.     }
  86.     public function getCompetence(): ?string
  87.     {
  88.         return $this->competence;
  89.     }
  90.     public function setCompetence(?string $competence): self
  91.     {
  92.         $this->competence $competence;
  93.         return $this;
  94.     }
  95.     public function getDocument(): ?string
  96.     {
  97.         return $this->document;
  98.     }
  99.     public function setDocument(?string $document): self
  100.     {
  101.         $this->document $document;
  102.         return $this;
  103.     }
  104.     public function getDateFinCandidature(): ?\DateTimeInterface
  105.     {
  106.         return $this->dateFinCandidature;
  107.     }
  108.     public function setDateFinCandidature(?\DateTimeInterface $dateFinCandidature): self
  109.     {
  110.         $this->dateFinCandidature $dateFinCandidature;
  111.         return $this;
  112.     }
  113.     public function getMethodeCandidat(): ?string
  114.     {
  115.         return $this->methodeCandidat;
  116.     }
  117.     public function setMethodeCandidat(?string $methodeCandidat): self
  118.     {
  119.         $this->methodeCandidat $methodeCandidat;
  120.         return $this;
  121.     }
  122.     public function getPieceJointe()
  123.     {
  124.         return $this->pieceJointe;
  125.     }
  126.     public function setPieceJointe($pieceJointe): self
  127.     {
  128.         $this->pieceJointe $pieceJointe;
  129.         return $this;
  130.     }
  131.     public function getEtat(): ?int
  132.     {
  133.         return $this->etat;
  134.     }
  135.     public function setEtat(?int $etat): self
  136.     {
  137.         $this->etat $etat;
  138.         return $this;
  139.     }
  140.     public function getStructure(): ?StructureRecherche
  141.     {
  142.         return $this->structure;
  143.     }
  144.     public function setStructure(?StructureRecherche $structure): self
  145.     {
  146.         $this->structure $structure;
  147.         return $this;
  148.     }
  149. }