<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* SettingsRol
*
* @ORM\Table(name="settings_rol")
* @ORM\Entity
*/
class SettingsRol
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private ?int $id = null;
/**
* @ORM\Column(name="team", type="string", length=255, nullable=true)
*/
private ?string $team = null;
/**
* @ORM\Column(name="rol", type="string", length=255, nullable=true)
*/
private ?string $rol = null;
/**
* @ORM\Column(name="modulo_cliente", type="boolean", options={"default":0})
*/
private bool $mcliente = false;
/**
* @ORM\Column(name="modulo_proveedor", type="boolean", options={"default":0})
*/
private bool $mproveedor = false;
/**
* @ORM\Column(name="modulo_spaces", type="boolean", options={"default":0})
*/
private bool $mspaces = false;
/**
* @ORM\Column(name="modulo_admin", type="boolean", options={"default":0})
*/
private bool $madmin = false;
/**
* @ORM\Column(name="modulo_venues", type="boolean", options={"default":0})
*/
private bool $mvenues = false;
/**
* @ORM\Column(name="modulo_sage", type="boolean", options={"default":0})
*/
private bool $msage = false;
/**
* @ORM\Column(name="modulo_config", type="boolean", options={"default":0})
*/
private bool $msettings = false;
/**
* @ORM\Column(name="modulo_catering", type="boolean", options={"default":0})
*/
private bool $mcatering = false;
/**
* @ORM\Column(name="modulo_audiovisuales", type="boolean", options={"default":0})
*/
private bool $mav = false;
/**
* @ORM\Column(name="modulo_inventario", type="boolean", options={"default":0})
*/
private bool $minven = false;
/**
* @ORM\Column(name="modulo_legends", type="boolean", options={"default":0})
*/
private bool $mlegends = false;
// ----------------- Getters / Setters -----------------
public function getId(): ?int
{
return $this->id;
}
public function getTeam(): ?string
{
return $this->team;
}
public function setTeam(?string $team): self
{
$this->team = $team;
return $this;
}
public function getRol(): ?string
{
return $this->rol;
}
public function setRol(?string $rol): self
{
$this->rol = $rol;
return $this;
}
public function getMcliente(): bool
{
return $this->mcliente;
}
public function setMcliente(bool $mcliente): self
{
$this->mcliente = $mcliente;
return $this;
}
public function getMproveedor(): bool
{
return $this->mproveedor;
}
public function setMproveedor(bool $mproveedor): self
{
$this->mproveedor = $mproveedor;
return $this;
}
public function getMspaces(): bool
{
return $this->mspaces;
}
public function setMspaces(bool $mspaces): self
{
$this->mspaces = $mspaces;
return $this;
}
public function getMadmin(): bool
{
return $this->madmin;
}
public function setMadmin(bool $madmin): self
{
$this->madmin = $madmin;
return $this;
}
public function getMvenues(): bool
{
return $this->mvenues;
}
public function setMvenues(bool $mvenues): self
{
$this->mvenues = $mvenues;
return $this;
}
public function getMsage(): bool
{
return $this->msage;
}
public function setMsage(bool $msage): self
{
$this->msage = $msage;
return $this;
}
public function getMsettings(): bool
{
return $this->msettings;
}
public function setMsettings(bool $msettings): self
{
$this->msettings = $msettings;
return $this;
}
/** Alias de mspaces para “lounge”. */
public function getMlounge(): bool
{
return $this->mspaces;
}
public function setMlounge(bool $mlounge): self
{
$this->mspaces = $mlounge;
return $this;
}
/** Catering: usa el campo mcatering real. */
public function getMcatering(): bool
{
return $this->mcatering;
}
public function setMcatering(bool $mcatering): self
{
$this->mcatering = $mcatering;
return $this;
}
/** Audiovisuales: usa el campo mav real. */
public function getMav(): bool
{
return $this->mav;
}
public function setMav(bool $mav): self
{
$this->mav = $mav;
return $this;
}
/** Audiovisuales: usa el campo mav real. */
public function getMinven(): bool
{
return $this->minven;
}
public function setMinven(bool $minven): self
{
$this->minven = $minven;
return $this;
}
/** Legends: usa el campo mav real. */
public function getMlegends(): bool
{
return $this->mlegends;
}
public function setMlegends(bool $mlegends): self
{
$this->mlegends = $mlegends;
return $this;
}
}