src/Entity/Partenaire.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PartenaireRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClass: PartenaireRepository::class)]
  7. class Partenaire
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id = null;
  13.     #[ORM\Column(length: 255)]
  14.     private ?string $title = null;
  15.     #[ORM\Column(length: 255)]
  16.     private ?string $image = null;
  17.     #[ORM\Column(type: Types::TEXT, nullable: true)]
  18.     private ?string $intro = null;
  19.     #[ORM\Column(type: Types::TEXT, nullable: true)]
  20.     private ?string $content = null;
  21.     #[ORM\Column(length: 255, nullable: true)]
  22.     private ?string $video = null;
  23.     #[ORM\Column(type: Types::TEXT, nullable: true)]
  24.     private ?string $info = null;
  25.     #[ORM\Column(length: 255, nullable: true)]
  26.     private ?string $contact = null;
  27.     #[ORM\Column(length: 255, nullable: true)]
  28.     private ?string $lieu = null;
  29.     #[ORM\Column(length: 255, nullable: true)]
  30.     private ?string $siteweb = null;
  31.     #[ORM\Column(length: 255, nullable: true)]
  32.     private ?string $facebook = null;
  33.     #[ORM\Column(length: 255, nullable: true)]
  34.     private ?string $linkedin = null;
  35.     #[ORM\Column]
  36.     private ?bool $isMajeur = false;
  37.     #[ORM\Column]
  38.     private ?bool $isJobdating = false;
  39.     #[ORM\Column]
  40.     private ?bool $isEnabled = true;
  41.     public function getId(): ?int
  42.     {
  43.         return $this->id;
  44.     }
  45.     public function getTitle(): ?string
  46.     {
  47.         return $this->title;
  48.     }
  49.     public function setTitle(string $title): self
  50.     {
  51.         $this->title = $title;
  52.         return $this;
  53.     }
  54.     public function getImage(): ?string
  55.     {
  56.         return $this->image;
  57.     }
  58.     public function setImage(string $image): self
  59.     {
  60.         $this->image = $image;
  61.         return $this;
  62.     }
  63.     public function getIntro(): ?string
  64.     {
  65.         return $this->intro;
  66.     }
  67.     public function setIntro(?string $intro): self
  68.     {
  69.         $this->intro = $intro;
  70.         return $this;
  71.     }
  72.     public function getContent(): ?string
  73.     {
  74.         return $this->content;
  75.     }
  76.     public function setContent(?string $content): self
  77.     {
  78.         $this->content = $content;
  79.         return $this;
  80.     }
  81.     public function getVideo(): ?string
  82.     {
  83.         return $this->video;
  84.     }
  85.     public function setVideo(?string $video): self
  86.     {
  87.         $this->video = $video;
  88.         return $this;
  89.     }
  90.     public function getInfo(): ?string
  91.     {
  92.         return $this->info;
  93.     }
  94.     public function setInfo(?string $info): self
  95.     {
  96.         $this->info = $info;
  97.         return $this;
  98.     }
  99.     public function getContact(): ?string
  100.     {
  101.         return $this->contact;
  102.     }
  103.     public function setContact(?string $contact): self
  104.     {
  105.         $this->contact = $contact;
  106.         return $this;
  107.     }
  108.     public function getLieu(): ?string
  109.     {
  110.         return $this->lieu;
  111.     }
  112.     public function setLieu(?string $lieu): self
  113.     {
  114.         $this->lieu = $lieu;
  115.         return $this;
  116.     }
  117.     public function getSiteweb(): ?string
  118.     {
  119.         return $this->siteweb;
  120.     }
  121.     public function setSiteweb(?string $siteweb): self
  122.     {
  123.         $this->siteweb = $siteweb;
  124.         return $this;
  125.     }
  126.     public function getFacebook(): ?string
  127.     {
  128.         return $this->facebook;
  129.     }
  130.     public function setFacebook(?string $facebook): self
  131.     {
  132.         $this->facebook = $facebook;
  133.         return $this;
  134.     }
  135.     public function getLinkedin(): ?string
  136.     {
  137.         return $this->linkedin;
  138.     }
  139.     public function setLinkedin(?string $linkedin): self
  140.     {
  141.         $this->linkedin = $linkedin;
  142.         return $this;
  143.     }
  144.     public function isIsMajeur(): ?bool
  145.     {
  146.         return $this->isMajeur;
  147.     }
  148.     public function setIsMajeur(bool $isMajeur): self
  149.     {
  150.         $this->isMajeur = $isMajeur;
  151.         return $this;
  152.     }
  153.     public function isIsJobdating(): ?bool
  154.     {
  155.         return $this->isJobdating;
  156.     }
  157.     public function setIsJobdating(bool $isJobdating): self
  158.     {
  159.         $this->isJobdating = $isJobdating;
  160.         return $this;
  161.     }
  162.     public function isIsEnabled(): ?bool
  163.     {
  164.         return $this->isEnabled;
  165.     }
  166.     public function setIsEnabled(bool $isEnabled): self
  167.     {
  168.         $this->isEnabled = $isEnabled;
  169.         return $this;
  170.     }
  171. }