src/Entity/MetierFormation.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\MetierFormationRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassMetierFormationRepository::class)]
  7. class MetierFormation
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $url null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $titre null;
  17.     #[ORM\Column(typeTypes::TEXT)]
  18.     private ?string $description null;
  19.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  20.     private ?string $mission1 null;
  21.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  22.     private ?string $mission2 null;
  23.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  24.     private ?string $mission3 null;
  25.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  26.     private ?string $mission4 null;
  27.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  28.     private ?string $avantage1 null;
  29.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  30.     private ?string $avantage2 null;
  31.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  32.     private ?string $avantage3 null;
  33.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  34.     private ?string $avantage4 null;
  35.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  36.     private ?string $avantage5 null;
  37.     #[ORM\ManyToOne(inversedBy'metierFormations')]
  38.     private ?Image $image null;
  39.     public function getId(): ?int
  40.     {
  41.         return $this->id;
  42.     }
  43.     public function getUrl(): ?string
  44.     {
  45.         return $this->url;
  46.     }
  47.     public function setUrl(string $url): self
  48.     {
  49.         $this->url $url;
  50.         return $this;
  51.     }
  52.     public function getTitre(): ?string
  53.     {
  54.         return $this->titre;
  55.     }
  56.     public function setTitre(string $titre): self
  57.     {
  58.         $this->titre $titre;
  59.         return $this;
  60.     }
  61.     public function getDescription(): ?string
  62.     {
  63.         return $this->description;
  64.     }
  65.     public function setDescription(string $description): self
  66.     {
  67.         $this->description $description;
  68.         return $this;
  69.     }
  70.     public function getMission1(): ?string
  71.     {
  72.         return $this->mission1;
  73.     }
  74.     public function setMission1(string $mission1): self
  75.     {
  76.         $this->mission1 $mission1;
  77.         return $this;
  78.     }
  79.     public function getMission2(): ?string
  80.     {
  81.         return $this->mission2;
  82.     }
  83.     public function setMission2(?string $mission2): self
  84.     {
  85.         $this->mission2 $mission2;
  86.         return $this;
  87.     }
  88.     public function getMission3(): ?string
  89.     {
  90.         return $this->mission3;
  91.     }
  92.     public function setMission3(?string $mission3): self
  93.     {
  94.         $this->mission3 $mission3;
  95.         return $this;
  96.     }
  97.     public function getMission4(): ?string
  98.     {
  99.         return $this->mission4;
  100.     }
  101.     public function setMission4(?string $mission4): self
  102.     {
  103.         $this->mission4 $mission4;
  104.         return $this;
  105.     }
  106.     public function getAvantage1(): ?string
  107.     {
  108.         return $this->avantage1;
  109.     }
  110.     public function setAvantage1(?string $avantage1): self
  111.     {
  112.         $this->avantage1 $avantage1;
  113.         return $this;
  114.     }
  115.     public function getAvantage2(): ?string
  116.     {
  117.         return $this->avantage2;
  118.     }
  119.     public function setAvantage2(?string $avantage2): self
  120.     {
  121.         $this->avantage2 $avantage2;
  122.         return $this;
  123.     }
  124.     public function getAvantage3(): ?string
  125.     {
  126.         return $this->avantage3;
  127.     }
  128.     public function setAvantage3(?string $avantage3): self
  129.     {
  130.         $this->avantage3 $avantage3;
  131.         return $this;
  132.     }
  133.     public function getAvantage4(): ?string
  134.     {
  135.         return $this->avantage4;
  136.     }
  137.     public function setAvantage4(?string $avantage4): self
  138.     {
  139.         $this->avantage4 $avantage4;
  140.         return $this;
  141.     }
  142.     public function getAvantage5(): ?string
  143.     {
  144.         return $this->avantage5;
  145.     }
  146.     public function setAvantage5(?string $avantage5): self
  147.     {
  148.         $this->avantage5 $avantage5;
  149.         return $this;
  150.     }
  151.     public function getImage(): ?Image
  152.     {
  153.         return $this->image;
  154.     }
  155.     public function setImage(?Image $image): self
  156.     {
  157.         $this->image $image;
  158.         return $this;
  159.     }
  160. }