src/Entity/OffreRecherche.php line 10
<?php
namespace App\Entity;
use App\Repository\OffreRechercheRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: OffreRechercheRepository::class)]
class OffreRecherche
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(nullable: true)]
private ?int $type = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $titre = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $duree = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $description = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $reference = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $competence = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $document = null;
#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]
private ?\DateTimeInterface $dateFinCandidature = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $methodeCandidat = null;
#[ORM\Column(type: Types::BLOB, nullable: true)]
private $pieceJointe = null;
#[ORM\Column(nullable: true)]
private ?int $etat = null;
#[ORM\ManyToOne(inversedBy: 'offreRecherches')]
private ?StructureRecherche $structure = null;
public function getId(): ?int
{
return $this->id;
}
public function getType(): ?int
{
return $this->type;
}
public function setType(?int $type): self
{
$this->type = $type;
return $this;
}
public function getTitre(): ?string
{
return $this->titre;
}
public function setTitre(?string $titre): self
{
$this->titre = $titre;
return $this;
}
public function getDuree(): ?string
{
return $this->duree;
}
public function setDuree(?string $duree): self
{
$this->duree = $duree;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getReference(): ?string
{
return $this->reference;
}
public function setReference(?string $reference): self
{
$this->reference = $reference;
return $this;
}
public function getCompetence(): ?string
{
return $this->competence;
}
public function setCompetence(?string $competence): self
{
$this->competence = $competence;
return $this;
}
public function getDocument(): ?string
{
return $this->document;
}
public function setDocument(?string $document): self
{
$this->document = $document;
return $this;
}
public function getDateFinCandidature(): ?\DateTimeInterface
{
return $this->dateFinCandidature;
}
public function setDateFinCandidature(?\DateTimeInterface $dateFinCandidature): self
{
$this->dateFinCandidature = $dateFinCandidature;
return $this;
}
public function getMethodeCandidat(): ?string
{
return $this->methodeCandidat;
}
public function setMethodeCandidat(?string $methodeCandidat): self
{
$this->methodeCandidat = $methodeCandidat;
return $this;
}
public function getPieceJointe()
{
return $this->pieceJointe;
}
public function setPieceJointe($pieceJointe): self
{
$this->pieceJointe = $pieceJointe;
return $this;
}
public function getEtat(): ?int
{
return $this->etat;
}
public function setEtat(?int $etat): self
{
$this->etat = $etat;
return $this;
}
public function getStructure(): ?StructureRecherche
{
return $this->structure;
}
public function setStructure(?StructureRecherche $structure): self
{
$this->structure = $structure;
return $this;
}
}