src/Entity/Candidature.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CandidatureRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassCandidatureRepository::class)]
  7. class Candidature
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $name null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $firstname null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $email null;
  19.     #[ORM\Column(length255)]
  20.     private ?string $pdfFile null;
  21.     #[ORM\Column]
  22.     private ?int $phone null;
  23.     #[ORM\Column]
  24.     private ?int $cedex null;
  25.     #[ORM\Column(length255)]
  26.     private ?string $adress null;
  27.     #[ORM\Column(typeTypes::TEXT)]
  28.     private ?string $text null;
  29.     #[ORM\Column(length255)]
  30.     private ?string $city null;
  31.     public function getId(): ?int
  32.     {
  33.         return $this->id;
  34.     }
  35.     public function getName(): ?string
  36.     {
  37.         return $this->name;
  38.     }
  39.     public function setName(string $name): self
  40.     {
  41.         $this->name $name;
  42.         return $this;
  43.     }
  44.     public function getFirstname(): ?string
  45.     {
  46.         return $this->firstname;
  47.     }
  48.     public function setFirstname(string $firstname): self
  49.     {
  50.         $this->firstname $firstname;
  51.         return $this;
  52.     }
  53.     public function getEmail(): ?string
  54.     {
  55.         return $this->email;
  56.     }
  57.     public function setEmail(string $email): self
  58.     {
  59.         $this->email $email;
  60.         return $this;
  61.     }
  62.     public function getPdfFile(): ?string
  63.     {
  64.         return $this->pdfFile;
  65.     }
  66.     public function setPdfFile(string $pdfFile): self
  67.     {
  68.         $this->pdfFile $pdfFile;
  69.         return $this;
  70.     }
  71.     public function getPhone(): ?int
  72.     {
  73.         return $this->phone;
  74.     }
  75.     public function setPhone(int $phone): self
  76.     {
  77.         $this->phone $phone;
  78.         return $this;
  79.     }
  80.     public function getCedex(): ?int
  81.     {
  82.         return $this->cedex;
  83.     }
  84.     public function setCedex(int $cedex): self
  85.     {
  86.         $this->cedex $cedex;
  87.         return $this;
  88.     }
  89.     public function getAdress(): ?string
  90.     {
  91.         return $this->adress;
  92.     }
  93.     public function setAdress(string $adress): self
  94.     {
  95.         $this->adress $adress;
  96.         return $this;
  97.     }
  98.     public function getText(): ?string
  99.     {
  100.         return $this->text;
  101.     }
  102.     public function setText(string $text): self
  103.     {
  104.         $this->text $text;
  105.         return $this;
  106.     }
  107.     public function getCity(): ?string
  108.     {
  109.         return $this->city;
  110.     }
  111.     public function setCity(string $city): self
  112.     {
  113.         $this->city $city;
  114.         return $this;
  115.     }
  116. }