<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\HttpFoundation\File\File;
use Vich\UploaderBundle\Mapping\Annotation as Vich;
/**
* @ORM\Entity
* @ORM\Table(name="settings")
* @Vich\Uploadable
*/
class Settings
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string")
*/
private $companyName;
/**
* @ORM\Column(type="string")
*/
private $siteEmail;
/**
* @ORM\Column(type="string")
*/
private $address;
/**
* @ORM\Column(type="string")
*/
private $city;
/**
* @ORM\Column(type="string")
*/
private $provinceState;
/**
* @ORM\Column(type="string")
*/
private $postalCodeZip;
/**
* @ORM\Column(type="string")
*/
private $country;
/**
* @ORM\Column(type="string")
*/
private $telephone;
/**
* @ORM\Column(type="string")
*/
private $websiteTheme;
/**
* @ORM\Column(type="string")
*/
private $googleAnalyticApiKey;
/**
* @Vich\UploadableField(mapping="setting_upload", fileNameProperty="companyLogo")
* @var File
*/
private $companyFile;
/**
* @ORM\Column(type="string")
*/
private $companyLogo;
/**
* @Vich\UploadableField(mapping="setting_upload", fileNameProperty="companyLogo")
* @var File
*/
private $faviconFile;
/**
* @ORM\Column(type="string")
*/
private $favicon;
/**
* @ORM\Column(type="string")
*/
private $defaultLanguage;
/**
* @ORM\Column(type="string")
*/
private $defaultCurrency;
/**
* @ORM\Column(type="string")
*/
private $recipientEmail;
/**
* @ORM\Column(type="boolean")
*/
private $putSiteOffline;
/**
* @ORM\Column(type="text")
*/
private $offlineMessage;
/**
* @ORM\Column(type="string")
*/
private $smtpHostname;
/**
* @ORM\Column(type="string")
*/
private $smtpUsername;
/**
* @ORM\Column(type="string")
*/
private $smtpPassword;
/**
* @ORM\Column(type="integer")
*/
private $smtpPort;
/**
* @ORM\Column(type="boolean")
*/
private $requiresSsl;
/**
* @ORM\Column(type="text")
*/
private $siteWideMetaKeywords;
/**
* @ORM\Column(type="text")
*/
private $siteWideMetaDescription;
/**
* @return mixed
*/
public function getCompanyName()
{
return $this->companyName;
}
/**
* @param mixed $companyName
*/
public function setCompanyName($companyName): void
{
$this->companyName = $companyName;
}
/**
* @return mixed
*/
public function getSiteEmail()
{
return $this->siteEmail;
}
/**
* @param mixed $siteEmail
*/
public function setSiteEmail($siteEmail): void
{
$this->siteEmail = $siteEmail;
}
/**
* @return mixed
*/
public function getAddress()
{
return $this->address;
}
/**
* @param mixed $address
*/
public function setAddress($address): void
{
$this->address = $address;
}
/**
* @return mixed
*/
public function getCity()
{
return $this->city;
}
/**
* @param mixed $city
*/
public function setCity($city): void
{
$this->city = $city;
}
/**
* @return mixed
*/
public function getProvinceState()
{
return $this->provinceState;
}
/**
* @param mixed $provinceState
*/
public function setProvinceState($provinceState): void
{
$this->provinceState = $provinceState;
}
/**
* @return mixed
*/
public function getPostalCodeZip()
{
return $this->postalCodeZip;
}
/**
* @param mixed $postalCodeZip
*/
public function setPostalCodeZip($postalCodeZip): void
{
$this->postalCodeZip = $postalCodeZip;
}
/**
* @return mixed
*/
public function getCountry()
{
return $this->country;
}
/**
* @param mixed $country
*/
public function setCountry($country): void
{
$this->country = $country;
}
/**
* @return mixed
*/
public function getTelephone()
{
return $this->telephone;
}
/**
* @param mixed $telephone
*/
public function setTelephone($telephone): void
{
$this->telephone = $telephone;
}
/**
* @return mixed
*/
public function getWebsiteTheme()
{
return $this->websiteTheme;
}
/**
* @param mixed $websiteTheme
*/
public function setWebsiteTheme($websiteTheme): void
{
$this->websiteTheme = $websiteTheme;
}
/**
* @return mixed
*/
public function getGoogleAnalyticApiKey()
{
return $this->googleAnalyticApiKey;
}
/**
* @param mixed $googleAnalyticApiKey
*/
public function setGoogleAnalyticApiKey($googleAnalyticApiKey): void
{
$this->googleAnalyticApiKey = $googleAnalyticApiKey;
}
/**
* @return mixed
*/
public function getCompanyLogo()
{
return $this->companyLogo;
}
/**
* @param mixed $companyLogo
*/
public function setCompanyLogo($companyLogo): void
{
$this->companyLogo = $companyLogo;
}
public function getFavicon(): ?string
{
return $this->favicon;
}
public function setFavicon(string $favicon): self
{
$this->favicon = $favicon;
return $this;
}
public function getDefaultLanguage(): ?string
{
return $this->defaultLanguage;
}
public function setDefaultLanguage(string $defaultLanguage): self
{
$this->defaultLanguage = $defaultLanguage;
return $this;
}
public function getDefaultCurrency(): ?string
{
return $this->defaultCurrency;
}
public function setDefaultCurrency(string $defaultCurrency): self
{
$this->defaultCurrency = $defaultCurrency;
return $this;
}
public function getRecipientEmail(): ?string
{
return $this->recipientEmail;
}
public function setRecipientEmail(string $recipientEmail): self
{
$this->recipientEmail = $recipientEmail;
return $this;
}
public function isPutSiteOffline(): ?bool
{
return $this->putSiteOffline;
}
public function setPutSiteOffline(bool $putSiteOffline): self
{
$this->putSiteOffline = $putSiteOffline;
return $this;
}
public function getOfflineMessage(): ?string
{
return $this->offlineMessage;
}
public function setOfflineMessage(string $offlineMessage): self
{
$this->offlineMessage = $offlineMessage;
return $this;
}
public function getSmtpHostname(): ?string
{
return $this->smtpHostname;
}
public function setSmtpHostname(string $smtpHostname): self
{
$this->smtpHostname = $smtpHostname;
return $this;
}
public function getSmtpUsername(): ?string
{
return $this->smtpUsername;
}
public function setSmtpUsername(string $smtpUsername): self
{
$this->smtpUsername = $smtpUsername;
return $this;
}
public function getSmtpPassword(): ?string
{
return $this->smtpPassword;
}
public function setSmtpPassword(string $smtpPassword): self
{
$this->smtpPassword = $smtpPassword;
return $this;
}
public function getSmtpPort(): ?int
{
return $this->smtpPort;
}
public function setSmtpPort(int $smtpPort): self
{
$this->smtpPort = $smtpPort;
return $this;
}
public function isRequiresSsl(): ?bool
{
return $this->requiresSsl;
}
public function setRequiresSsl(bool $requiresSsl): self
{
$this->requiresSsl = $requiresSsl;
return $this;
}
public function getSiteWideMetaKeywords(): ?string
{
return $this->siteWideMetaKeywords;
}
public function setSiteWideMetaKeywords(string $siteWideMetaKeywords): self
{
$this->siteWideMetaKeywords = $siteWideMetaKeywords;
return $this;
}
public function getSiteWideMetaDescription(): ?string
{
return $this->siteWideMetaDescription;
}
public function setSiteWideMetaDescription(string $siteWideMetaDescription): self
{
$this->siteWideMetaDescription = $siteWideMetaDescription;
return $this;
}
public function getId(): ?int
{
return $this->id;
}
}