src/Entity/Conference.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ConferenceRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Symfony\Component\Uid\Uuid;
  6. /**
  7.  * @ORM\Entity(repositoryClass=ConferenceRepository::class)
  8.  */
  9. class Conference
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255, nullable=true)
  19.      */
  20.     private $uuid;
  21.     /**
  22.      * @ORM\Column(type="string", length=255, nullable=true)
  23.      */
  24.     private $token;
  25.     /**
  26.      * @ORM\Column(type="string", length=255, nullable=true)
  27.      */
  28.     private $slug;
  29.     /**
  30.      * @ORM\Column(type="boolean", nullable=true)
  31.      */
  32.     private $statut false;
  33.     /**
  34.      * @ORM\Column(type="datetime_immutable", nullable=true)
  35.      */
  36.     private $createdAt;
  37.     /**
  38.      * @ORM\Column(type="datetime", nullable=true)
  39.      */
  40.     private $updatedAt;
  41.     /**
  42.      * @ORM\Column(type="string", length=255, nullable=true)
  43.      */
  44.     private $titre;
  45.     /**
  46.      * @ORM\Column(type="string", length=255, nullable=true)
  47.      */
  48.     private $genre;
  49.     /**
  50.      * @ORM\Column(type="text", nullable=true)
  51.      */
  52.     private $lien;
  53.     /**
  54.      * @ORM\Column(type="text", nullable=true)
  55.      */
  56.     private $description;
  57.     /**
  58.      * @ORM\Column(type="string", length=255, nullable=true)
  59.      */
  60.     private $fichier;
  61.     /**
  62.      * @ORM\Column(type="string", length=255, nullable=true)
  63.      */
  64.     private $mime;
  65.     /**
  66.      * @ORM\Column(type="boolean", nullable=true)
  67.      */
  68.     private $originBool false;
  69.     /**
  70.      * @ORM\Column(type="integer", nullable=true)
  71.      */
  72.     private $listorder;
  73.     public function __construct()
  74.     {
  75.         $this->uuid Uuid::v4();
  76.     }
  77.     public function getId(): ?int
  78.     {
  79.         return $this->id;
  80.     }
  81.     public function getUuid(): ?string
  82.     {
  83.         return $this->uuid;
  84.     }
  85.     public function setUuid(?string $uuid): self
  86.     {
  87.         $this->uuid $uuid;
  88.         return $this;
  89.     }
  90.     public function getToken(): ?string
  91.     {
  92.         return $this->token;
  93.     }
  94.     public function setToken(?string $token): self
  95.     {
  96.         $this->token $token;
  97.         return $this;
  98.     }
  99.     public function getSlug(): ?string
  100.     {
  101.         return $this->slug;
  102.     }
  103.     public function setSlug(?string $slug): self
  104.     {
  105.         $this->slug $slug;
  106.         return $this;
  107.     }
  108.     public function isStatut(): ?bool
  109.     {
  110.         return $this->statut;
  111.     }
  112.     public function setStatut(?bool $statut): self
  113.     {
  114.         $this->statut $statut;
  115.         return $this;
  116.     }
  117.     public function getCreatedAt(): ?\DateTimeImmutable
  118.     {
  119.         return $this->createdAt;
  120.     }
  121.     public function setCreatedAt(?\DateTimeImmutable $createdAt): self
  122.     {
  123.         $this->createdAt $createdAt;
  124.         return $this;
  125.     }
  126.     public function getUpdatedAt(): ?\DateTimeInterface
  127.     {
  128.         return $this->updatedAt;
  129.     }
  130.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  131.     {
  132.         $this->updatedAt $updatedAt;
  133.         return $this;
  134.     }
  135.     public function getTitre(): ?string
  136.     {
  137.         return $this->titre;
  138.     }
  139.     public function setTitre(?string $titre): self
  140.     {
  141.         $this->titre $titre;
  142.         return $this;
  143.     }
  144.     public function getGenre(): ?string
  145.     {
  146.         return $this->genre;
  147.     }
  148.     public function setGenre(?string $genre): self
  149.     {
  150.         $this->genre $genre;
  151.         return $this;
  152.     }
  153.     public function getLien(): ?string
  154.     {
  155.         return $this->lien;
  156.     }
  157.     public function setLien(?string $lien): self
  158.     {
  159.         $this->lien $lien;
  160.         return $this;
  161.     }
  162.     public function getDescription(): ?string
  163.     {
  164.         return $this->description;
  165.     }
  166.     public function setDescription(?string $description): self
  167.     {
  168.         $this->description $description;
  169.         return $this;
  170.     }
  171.     public function getFichier(): ?string
  172.     {
  173.         return $this->fichier;
  174.     }
  175.     public function setFichier(?string $fichier): self
  176.     {
  177.         $this->fichier $fichier;
  178.         return $this;
  179.     }
  180.     public function getMime(): ?string
  181.     {
  182.         return $this->mime;
  183.     }
  184.     public function setMime(?string $mime): self
  185.     {
  186.         $this->mime $mime;
  187.         return $this;
  188.     }
  189.     public function isOriginBool(): ?bool
  190.     {
  191.         return $this->originBool;
  192.     }
  193.     public function setOriginBool(?bool $originBool): self
  194.     {
  195.         $this->originBool $originBool;
  196.         return $this;
  197.     }
  198.     public function getListorder(): ?int
  199.     {
  200.         return $this->listorder;
  201.     }
  202.     public function setListorder(?int $listorder): self
  203.     {
  204.         $this->listorder $listorder;
  205.         return $this;
  206.     }
  207. }