<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Constants\BusinessTypeSettingsCompanyConstants;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
/**
* SettingsBranding
*/
#[ORM\Entity(repositoryClass: \App\Repository\SettingsBrandingRepository::class)]
#[ORM\Table(name: 'settings_branding')]
class SettingsBranding
{
/**
* @var int
*/
#[ORM\Column(name: 'id', type: 'integer')]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'AUTO')]
private $id;
/**
* Tipo de acceso: venues | catering | av
*
* @var string
*/
#[ORM\Column(name: 'access_type', type: 'string', length: 30, unique: true)]
private $accessType;
/**
* Nombre visible del módulo
*
* @var string
*/
#[ORM\Column(name: 'name', type: 'string', length: 255)]
private $name;
/**
* Color primario (hex)
*
* @var string|null
*/
#[ORM\Column(name: 'primary_color', type: 'string', length: 7, nullable: true)]
private $primaryColor;
/**
* Color secundario (hex)
*
* @var string|null
*/
#[ORM\Column(name: 'secondary_color', type: 'string', length: 7, nullable: true)]
private $secondaryColor;
/**
* Color acento (hex)
*
* @var string|null
*/
#[ORM\Column(name: 'accent_color', type: 'string', length: 7, nullable: true)]
private $accentColor;
/**
* Ruta pública al logo
*
* @var string|null
*/
#[ORM\Column(name: 'logo_path', type: 'string', length: 255, nullable: true)]
private $logoPath;
/**
* Indica si este branding está activo
*
* @var bool
*/
#[ORM\Column(name: 'is_active', type: 'boolean')]
private $isActive = true;
/******************************************
* GETTERS / SETTERS
******************************************/
/**
* @return int|null
*/
public function getId()
{
return $this->id;
}
/**
* @return string|null
*/
public function getAccessType()
{
return $this->accessType;
}
/**
* @param string $accessType
* @return $this
*/
public function setAccessType($accessType)
{
$this->accessType = $accessType;
return $this;
}
/**
* @return string|null
*/
public function getName()
{
return $this->name;
}
/**
* @param string $name
* @return $this
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* @return string|null
*/
public function getPrimaryColor()
{
return $this->primaryColor;
}
/**
* @param string|null $primaryColor
* @return $this
*/
public function setPrimaryColor($primaryColor)
{
$this->primaryColor = $primaryColor;
return $this;
}
/**
* @return string|null
*/
public function getSecondaryColor()
{
return $this->secondaryColor;
}
/**
* @param string|null $secondaryColor
* @return $this
*/
public function setSecondaryColor($secondaryColor)
{
$this->secondaryColor = $secondaryColor;
return $this;
}
/**
* @return string|null
*/
public function getAccentColor()
{
return $this->accentColor;
}
/**
* @param string|null $accentColor
* @return $this
*/
public function setAccentColor($accentColor)
{
$this->accentColor = $accentColor;
return $this;
}
/**
* @return string|null
*/
public function getLogoPath()
{
return $this->logoPath;
}
/**
* @param string|null $logoPath
* @return $this
*/
public function setLogoPath($logoPath)
{
$this->logoPath = $logoPath;
return $this;
}
/**
* @return bool
*/
public function getIsActive()
{
return $this->isActive;
}
/**
* @param bool $isActive
* @return $this
*/
public function setIsActive($isActive)
{
$this->isActive = $isActive;
return $this;
}
}