src/Entity/Sousrubrique.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SousrubriqueRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Symfony\Component\Uid\Uuid;
  6. /**
  7.  * @ORM\Entity(repositoryClass=SousrubriqueRepository::class)
  8.  */
  9. class Sousrubrique
  10. {
  11.     
  12.     const EVOLUTION_PROFESSIONNELLE_SICARDI '19c3ff45-b508-4c8b-98f7-9e0b13ac14c6';
  13.     const EVOLUTION_PROFESSIONNELLE_CANDIDATURE '81c8caaa-2726-4622-8c1a-e945717587bb';
  14.     const EVOLUTION_PROFESSIONNELLE_ACCOMPAGNEMENT_CHANGEMENT '25f42e11-3278-4945-b66e-0bd69627d66b';
  15.     const EVOLUTION_PROFESSIONNELLE_RECRUTEURS '7c3d0193-e062-4bbd-98ef-93202982cfe0';
  16.     const EVOLUTION_PROFESSIONNELLE_CV '98f7-9e0b13ac14c6-19c3ff45-b508-4c8b';
  17.     const OFFRE_FORMATION_PROGRAMME '5b4106e6-6463-4cbc-bfd1-3549897d7ae7';
  18.     const OFFRE_FORMATION_CONFERENCE 'b70a9193-ef1b-4a28-aaba-c6ed700632f4';
  19.     const TRANSMISSION_COMPETENCES_JURIDIQUE '5564cf0a-37c3-41b0-98a8-ccfed0c70406';
  20.     const TRANSMISSION_COMPETENCES_INITIATIVE '01c36a9b-7f8e-43a0-8281-3c19ebbfa068';
  21.     const TRANSMISSION_COMPETENCES_REFERENT '1626835c-f328-4aec-b6a3-9f7cb39a4b18';
  22.     const TRANSMISSION_COMPETENCES_BOITE_ASTUCE '8203411d-3347-4d98-b5d3-a096d317967d';
  23.     const TRANSMISSION_COMPETENCES_AGORA '99a2f476-604c-454b-8084-ce0feb3a9082';
  24.     const TRANSMISSION_COMPETENCES_MENTORAT '76b3c7fc-c5b1-45a7-81a0-6d7e989ft1f5';
  25.     const QUALITE_VIE_TRAVAIL_DISPOSITIFS_RH 'c5b84e8a-9d3b-48ca-9455-d88c4b111649';
  26.     const QUALITE_VIE_TRAVAIL_ERGONOMIE 'a7ac02dd-fe83-4591-95dd-6b98c7e6d531';
  27.     const QUALITE_VIE_TRAVAIL_PROCHE_AIDANT '350dace5-95e7-43d8-8ff1-5c02d981393f';
  28.     const QUALITE_VIE_TRAVAIL_PREPARATION_RETRAITE '17d0196c-8776-4a25-8ccd-33170e7ddcb3';
  29.   
  30.     /**
  31.      * @ORM\Id
  32.      * @ORM\GeneratedValue
  33.      * @ORM\Column(type="integer")
  34.      */
  35.     private $id;
  36.     /**
  37.      * @ORM\Column(type="string", length=255, nullable=true)
  38.      */
  39.     private $uuid;
  40.     /**
  41.      * @ORM\Column(type="string", length=255, nullable=true)
  42.      */
  43.     private $token;
  44.     /**
  45.      * @ORM\Column(type="string", length=255, nullable=true)
  46.      */
  47.     private $slug;
  48.     /**
  49.      * @ORM\Column(type="boolean", nullable=true)
  50.      */
  51.     private $statut false;
  52.     /**
  53.      * @ORM\Column(type="string", length=255, nullable=true)
  54.      */
  55.     private $nom;
  56.     /**
  57.      * @ORM\Column(type="text", nullable=true)
  58.      */
  59.     private $description;
  60.     /**
  61.      * @ORM\Column(type="string", length=255, nullable=true)
  62.      */
  63.     private $src;
  64.     /**
  65.      * @ORM\Column(type="text", nullable=true)
  66.      */
  67.     private $alt;
  68.     /**
  69.      * @ORM\Column(type="string", length=255, nullable=true)
  70.      */
  71.     private $title;
  72.     /**
  73.      * @ORM\ManyToOne(targetEntity=Rubrique::class, inversedBy="sousrubriques")
  74.      */
  75.     private $rubrique;
  76.     /**
  77.      * @ORM\Column(type="string", length=255, nullable=true)
  78.      */
  79.     private $srcImg;
  80.     /**
  81.      * @ORM\Column(type="text", nullable=true)
  82.      */
  83.     private $altImg;
  84.     /**
  85.      * @ORM\Column(type="string", length=255, nullable=true)
  86.      */
  87.     private $titleImg;
  88.     /**
  89.      * @ORM\Column(type="text", nullable=true)
  90.      */
  91.     private $intro;
  92.     /**
  93.      * @ORM\Column(type="text", nullable=true)
  94.      */
  95.     private $phrase;
  96.     /**
  97.      * @ORM\Column(type="integer", nullable=true)
  98.      */
  99.     private $listorder;
  100.     /**
  101.      * @ORM\Column(type="string", length=255, nullable=true)
  102.      */
  103.     private $lien;
  104.     /**
  105.      * @ORM\Column(type="string", length=255, nullable=true)
  106.      */
  107.     private $info;
  108.     public function __construct()
  109.     {
  110.         $this->uuid Uuid::v4();
  111.     }
  112.     public function getId(): ?int
  113.     {
  114.         return $this->id;
  115.     }
  116.     public function getUuid(): ?string
  117.     {
  118.         return $this->uuid;
  119.     }
  120.     public function setUuid(?string $uuid): self
  121.     {
  122.         $this->uuid $uuid;
  123.         return $this;
  124.     }
  125.     public function getToken(): ?string
  126.     {
  127.         return $this->token;
  128.     }
  129.     public function setToken(?string $token): self
  130.     {
  131.         $this->token $token;
  132.         return $this;
  133.     }
  134.     public function getSlug(): ?string
  135.     {
  136.         return $this->slug;
  137.     }
  138.     public function setSlug(?string $slug): self
  139.     {
  140.         $this->slug $slug;
  141.         return $this;
  142.     }
  143.     public function isStatut(): ?bool
  144.     {
  145.         return $this->statut;
  146.     }
  147.     public function setStatut(?bool $statut): self
  148.     {
  149.         $this->statut $statut;
  150.         return $this;
  151.     }
  152.     public function getNom(): ?string
  153.     {
  154.         return $this->nom;
  155.     }
  156.     public function setNom(?string $nom): self
  157.     {
  158.         $this->nom $nom;
  159.         return $this;
  160.     }
  161.     public function getDescription(): ?string
  162.     {
  163.         return $this->description;
  164.     }
  165.     public function setDescription(?string $description): self
  166.     {
  167.         $this->description $description;
  168.         return $this;
  169.     }
  170.     public function getSrc(): ?string
  171.     {
  172.         return $this->src;
  173.     }
  174.     public function setSrc(?string $src): self
  175.     {
  176.         $this->src $src;
  177.         return $this;
  178.     }
  179.     public function getAlt(): ?string
  180.     {
  181.         return $this->alt;
  182.     }
  183.     public function setAlt(?string $alt): self
  184.     {
  185.         $this->alt $alt;
  186.         return $this;
  187.     }
  188.     public function getTitle(): ?string
  189.     {
  190.         return $this->title;
  191.     }
  192.     public function setTitle(?string $title): self
  193.     {
  194.         $this->title $title;
  195.         return $this;
  196.     }
  197.     public function getRubrique(): ?Rubrique
  198.     {
  199.         return $this->rubrique;
  200.     }
  201.     public function setRubrique(?Rubrique $rubrique): self
  202.     {
  203.         $this->rubrique $rubrique;
  204.         return $this;
  205.     }
  206.     public function getSrcImg(): ?string
  207.     {
  208.         return $this->srcImg;
  209.     }
  210.     public function setSrcImg(?string $srcImg): self
  211.     {
  212.         $this->srcImg $srcImg;
  213.         return $this;
  214.     }
  215.     public function getAltImg(): ?string
  216.     {
  217.         return $this->altImg;
  218.     }
  219.     public function setAltImg(?string $altImg): self
  220.     {
  221.         $this->altImg $altImg;
  222.         return $this;
  223.     }
  224.     public function getTitleImg(): ?string
  225.     {
  226.         return $this->titleImg;
  227.     }
  228.     public function setTitleImg(?string $titleImg): self
  229.     {
  230.         $this->titleImg $titleImg;
  231.         return $this;
  232.     }
  233.     public function getIntro(): ?string
  234.     {
  235.         return $this->intro;
  236.     }
  237.     public function setIntro(?string $intro): self
  238.     {
  239.         $this->intro $intro;
  240.         return $this;
  241.     }
  242.     public function getPhrase(): ?string
  243.     {
  244.         return $this->phrase;
  245.     }
  246.     public function setPhrase(?string $phrase): self
  247.     {
  248.         $this->phrase $phrase;
  249.         return $this;
  250.     }
  251.     public function getListorder(): ?int
  252.     {
  253.         return $this->listorder;
  254.     }
  255.     public function setListorder(?int $listorder): self
  256.     {
  257.         $this->listorder $listorder;
  258.         return $this;
  259.     }
  260.     public function getLien(): ?string
  261.     {
  262.         return $this->lien;
  263.     }
  264.     public function setLien(?string $lien): self
  265.     {
  266.         $this->lien $lien;
  267.         return $this;
  268.     }
  269.     public function getInfo(): ?string
  270.     {
  271.         return $this->info;
  272.     }
  273.     public function setInfo(?string $info): self
  274.     {
  275.         $this->info $info;
  276.         return $this;
  277.     }
  278. }