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.     /**
  71.      * @ORM\Column(name="modulo_rrhh", type="boolean", options={"default":0})
  72.      */
  73.     private bool $mrrhh = false;
  74.     // ----------------- Getters / Setters -----------------
  75.     public function getId(): ?int
  76.     {
  77.         return $this->id;
  78.     }
  79.     public function getTeam(): ?string
  80.     {
  81.         return $this->team;
  82.     }
  83.     public function setTeam(?string $team): self
  84.     {
  85.         $this->team = $team;
  86.         return $this;
  87.     }
  88.     public function getRol(): ?string
  89.     {
  90.         return $this->rol;
  91.     }
  92.     public function setRol(?string $rol): self
  93.     {
  94.         $this->rol = $rol;
  95.         return $this;
  96.     }
  97.     public function getMcliente(): bool
  98.     {
  99.         return $this->mcliente;
  100.     }
  101.     public function setMcliente(bool $mcliente): self
  102.     {
  103.         $this->mcliente = $mcliente;
  104.         return $this;
  105.     }
  106.     public function getMproveedor(): bool
  107.     {
  108.         return $this->mproveedor;
  109.     }
  110.     public function setMproveedor(bool $mproveedor): self
  111.     {
  112.         $this->mproveedor = $mproveedor;
  113.         return $this;
  114.     }
  115.     public function getMspaces(): bool
  116.     {
  117.         return $this->mspaces;
  118.     }
  119.     public function setMspaces(bool $mspaces): self
  120.     {
  121.         $this->mspaces = $mspaces;
  122.         return $this;
  123.     }
  124.     public function getMadmin(): bool
  125.     {
  126.         return $this->madmin;
  127.     }
  128.     public function setMadmin(bool $madmin): self
  129.     {
  130.         $this->madmin = $madmin;
  131.         return $this;
  132.     }
  133.     public function getMvenues(): bool
  134.     {
  135.         return $this->mvenues;
  136.     }
  137.     public function setMvenues(bool $mvenues): self
  138.     {
  139.         $this->mvenues = $mvenues;
  140.         return $this;
  141.     }
  142.     public function getMsage(): bool
  143.     {
  144.         return $this->msage;
  145.     }
  146.     public function setMsage(bool $msage): self
  147.     {
  148.         $this->msage = $msage;
  149.         return $this;
  150.     }
  151.     public function getMsettings(): bool
  152.     {
  153.         return $this->msettings;
  154.     }
  155.     public function setMsettings(bool $msettings): self
  156.     {
  157.         $this->msettings = $msettings;
  158.         return $this;
  159.     }
  160.     /** Catering: usa el campo mcatering real. */
  161.     public function getMcatering(): bool
  162.     {
  163.         return $this->mcatering;
  164.     }
  165.     public function setMcatering(bool $mcatering): self
  166.     {
  167.         $this->mcatering = $mcatering;
  168.         return $this;
  169.     }
  170.     /** Audiovisuales: usa el campo mav real. */
  171.     public function getMav(): bool
  172.     {
  173.         return $this->mav;
  174.     }
  175.     public function setMav(bool $mav): self
  176.     {
  177.         $this->mav = $mav;
  178.         return $this;
  179.     }
  180.     /** Audiovisuales: usa el campo mav real. */
  181.     public function getMinven(): bool
  182.     {
  183.         return $this->minven;
  184.     }
  185.     public function setMinven(bool $minven): self
  186.     {
  187.         $this->minven = $minven;
  188.         return $this;
  189.     }
  190.     /** Legends: usa el campo mav real. */
  191.     public function getMlegends(): bool
  192.     {
  193.         return $this->mlegends;
  194.     }
  195.     public function setMlegends(bool $mlegends): self
  196.     {
  197.         $this->mlegends = $mlegends;
  198.         return $this;
  199.     }
  200.     /** RRHH: usa el campo mav real. */
  201.     public function getMrrhh(): bool
  202.     {
  203.         return $this->mrrhh;
  204.     }
  205.     public function setMrrhh(bool $mrrhh): self
  206.     {
  207.         $this->mrrhh = $mrrhh;
  208.         return $this;
  209.     }
  210. }