src/Entity/Entreprise.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\EntrepriseRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClass: EntrepriseRepository::class)]
  7. class Entreprise
  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 $slug = null;
  17.     #[ORM\Column(length: 255)]
  18.     private ?string $logo = null;
  19.     #[ORM\Column(type: Types::TEXT, nullable: true)]
  20.     private ?string $intro = null;
  21.     #[ORM\Column(type: Types::TEXT, nullable: true)]
  22.     private ?string $content = null;
  23.     #[ORM\Column(length: 255, nullable: true)]
  24.     private ?string $video = 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]
  34.     private ?bool $isEnabled = true;
  35.     #[ORM\Column]
  36.     private ?int $sortOrder = null;
  37.     public function getId(): ?int
  38.     {
  39.         return $this->id;
  40.     }
  41.     public function getTitle(): ?string
  42.     {
  43.         return $this->title;
  44.     }
  45.     public function setTitle(string $title): self
  46.     {
  47.         $this->title = $title;
  48.         return $this;
  49.     }
  50.     public function getSlug(): ?string
  51.     {
  52.         return $this->slug;
  53.     }
  54.     public function setSlug(string $slug): self
  55.     {
  56.         $this->slug = $slug;
  57.         return $this;
  58.     }
  59.     public function getLogo(): ?string
  60.     {
  61.         return $this->logo;
  62.     }
  63.     public function setLogo(string $logo): self
  64.     {
  65.         $this->logo = $logo;
  66.         return $this;
  67.     }
  68.     public function getIntro(): ?string
  69.     {
  70.         return $this->intro;
  71.     }
  72.     public function setIntro(?string $intro): self
  73.     {
  74.         $this->intro = $intro;
  75.         return $this;
  76.     }
  77.     public function getContent(): ?string
  78.     {
  79.         return $this->content;
  80.     }
  81.     public function setContent(?string $content): self
  82.     {
  83.         $this->content = $content;
  84.         return $this;
  85.     }
  86.     public function getVideo(): ?string
  87.     {
  88.         return $this->video;
  89.     }
  90.     public function setVideo(?string $video): self
  91.     {
  92.         $this->video = $video;
  93.         return $this;
  94.     }
  95.     public function getContact(): ?string
  96.     {
  97.         return $this->contact;
  98.     }
  99.     public function setContact(?string $contact): self
  100.     {
  101.         $this->contact = $contact;
  102.         return $this;
  103.     }
  104.     public function getLieu(): ?string
  105.     {
  106.         return $this->lieu;
  107.     }
  108.     public function setLieu(?string $lieu): self
  109.     {
  110.         $this->lieu = $lieu;
  111.         return $this;
  112.     }
  113.     public function getSiteweb(): ?string
  114.     {
  115.         return $this->siteweb;
  116.     }
  117.     public function setSiteweb(?string $siteweb): self
  118.     {
  119.         $this->siteweb = $siteweb;
  120.         return $this;
  121.     }
  122.     public function getFacebook(): ?string
  123.     {
  124.         return $this->facebook;
  125.     }
  126.     public function setFacebook(?string $facebook): self
  127.     {
  128.         $this->facebook = $facebook;
  129.         return $this;
  130.     }
  131.     public function isIsEnabled(): ?bool
  132.     {
  133.         return $this->isEnabled;
  134.     }
  135.     public function setIsEnabled(bool $isEnabled): self
  136.     {
  137.         $this->isEnabled = $isEnabled;
  138.         return $this;
  139.     }
  140.     public function getSortOrder(): ?int
  141.     {
  142.         return $this->sortOrder;
  143.     }
  144.     public function setSortOrder(int $sortOrder): self
  145.     {
  146.         $this->sortOrder = $sortOrder;
  147.         return $this;
  148.     }
  149. }