src/Entity/SettingsRol.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * SettingsRol
  6.  *
  7.  * @ORM\Table(name="settings_rol")
  8.  * @ORM\Entity
  9.  */
  10. class SettingsRol
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private ?int $id null;
  18.     /**
  19.      * @ORM\Column(name="team", type="string", length=255, nullable=true)
  20.      */
  21.     private ?string $team null;
  22.     /**
  23.      * @ORM\Column(name="rol", type="string", length=255, nullable=true)
  24.      */
  25.     private ?string $rol null;
  26.     /**
  27.      * @ORM\Column(name="modulo_cliente", type="boolean", options={"default":0})
  28.      */
  29.     private bool $mcliente false;
  30.     /**
  31.      * @ORM\Column(name="modulo_proveedor", type="boolean", options={"default":0})
  32.      */
  33.     private bool $mproveedor false;
  34.     /**
  35.      * @ORM\Column(name="modulo_spaces", type="boolean", options={"default":0})
  36.      */
  37.     private bool $mspaces false;
  38.     /**
  39.      * @ORM\Column(name="modulo_admin", type="boolean", options={"default":0})
  40.      */
  41.     private bool $madmin false;
  42.     /**
  43.      * @ORM\Column(name="modulo_venues", type="boolean", options={"default":0})
  44.      */
  45.     private bool $mvenues false;
  46.     /**
  47.      * @ORM\Column(name="modulo_sage", type="boolean", options={"default":0})
  48.      */
  49.     private bool $msage false;
  50.     /**
  51.      * @ORM\Column(name="modulo_config", type="boolean", options={"default":0})
  52.      */
  53.     private bool $msettings false;
  54.     /**
  55.      * @ORM\Column(name="modulo_catering", type="boolean", options={"default":0})
  56.      */
  57.     private bool $mcatering false;
  58.     /**
  59.      * @ORM\Column(name="modulo_audiovisuales", type="boolean", options={"default":0})
  60.      */
  61.     private bool $mav false;
  62.     /**
  63.      * @ORM\Column(name="modulo_inventario", type="boolean", options={"default":0})
  64.      */
  65.     private bool $minven false;
  66.     /**
  67.      * @ORM\Column(name="modulo_legends", type="boolean", options={"default":0})
  68.      */
  69.     private bool $mlegends false;
  70.     // ----------------- Getters / Setters -----------------
  71.     public function getId(): ?int
  72.     {
  73.         return $this->id;
  74.     }
  75.     public function getTeam(): ?string
  76.     {
  77.         return $this->team;
  78.     }
  79.     public function setTeam(?string $team): self
  80.     {
  81.         $this->team $team;
  82.         return $this;
  83.     }
  84.     public function getRol(): ?string
  85.     {
  86.         return $this->rol;
  87.     }
  88.     public function setRol(?string $rol): self
  89.     {
  90.         $this->rol $rol;
  91.         return $this;
  92.     }
  93.     public function getMcliente(): bool
  94.     {
  95.         return $this->mcliente;
  96.     }
  97.     public function setMcliente(bool $mcliente): self
  98.     {
  99.         $this->mcliente $mcliente;
  100.         return $this;
  101.     }
  102.     public function getMproveedor(): bool
  103.     {
  104.         return $this->mproveedor;
  105.     }
  106.     public function setMproveedor(bool $mproveedor): self
  107.     {
  108.         $this->mproveedor $mproveedor;
  109.         return $this;
  110.     }
  111.     public function getMspaces(): bool
  112.     {
  113.         return $this->mspaces;
  114.     }
  115.     public function setMspaces(bool $mspaces): self
  116.     {
  117.         $this->mspaces $mspaces;
  118.         return $this;
  119.     }
  120.     public function getMadmin(): bool
  121.     {
  122.         return $this->madmin;
  123.     }
  124.     public function setMadmin(bool $madmin): self
  125.     {
  126.         $this->madmin $madmin;
  127.         return $this;
  128.     }
  129.     public function getMvenues(): bool
  130.     {
  131.         return $this->mvenues;
  132.     }
  133.     public function setMvenues(bool $mvenues): self
  134.     {
  135.         $this->mvenues $mvenues;
  136.         return $this;
  137.     }
  138.     public function getMsage(): bool
  139.     {
  140.         return $this->msage;
  141.     }
  142.     public function setMsage(bool $msage): self
  143.     {
  144.         $this->msage $msage;
  145.         return $this;
  146.     }
  147.     public function getMsettings(): bool
  148.     {
  149.         return $this->msettings;
  150.     }
  151.     public function setMsettings(bool $msettings): self
  152.     {
  153.         $this->msettings $msettings;
  154.         return $this;
  155.     }
  156.     /** Alias de mspaces para “lounge”. */
  157.     public function getMlounge(): bool
  158.     {
  159.         return $this->mspaces;
  160.     }
  161.     public function setMlounge(bool $mlounge): self
  162.     {
  163.         $this->mspaces $mlounge;
  164.         return $this;
  165.     }
  166.     /** Catering: usa el campo mcatering real. */
  167.     public function getMcatering(): bool
  168.     {
  169.         return $this->mcatering;
  170.     }
  171.     public function setMcatering(bool $mcatering): self
  172.     {
  173.         $this->mcatering $mcatering;
  174.         return $this;
  175.     }
  176.     /** Audiovisuales: usa el campo mav real. */
  177.     public function getMav(): bool
  178.     {
  179.         return $this->mav;
  180.     }
  181.     public function setMav(bool $mav): self
  182.     {
  183.         $this->mav $mav;
  184.         return $this;
  185.     }
  186.     /** Audiovisuales: usa el campo mav real. */
  187.     public function getMinven(): bool
  188.     {
  189.         return $this->minven;
  190.     }
  191.     public function setMinven(bool $minven): self
  192.     {
  193.         $this->minven $minven;
  194.         return $this;
  195.     }
  196.     /** Legends: usa el campo mav real. */
  197.     public function getMlegends(): bool
  198.     {
  199.         return $this->mlegends;
  200.     }
  201.     public function setMlegends(bool $mlegends): self
  202.     {
  203.         $this->mlegends $mlegends;
  204.         return $this;
  205.     }
  206. }