src/Entity/Settings.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Symfony\Component\HttpFoundation\File\File;
  5. use Vich\UploaderBundle\Mapping\Annotation as Vich;
  6. /**
  7.  * @ORM\Entity
  8.  * @ORM\Table(name="settings")
  9.  * @Vich\Uploadable
  10.  */
  11. class Settings
  12. {
  13.     /**
  14.      * @ORM\Id
  15.      * @ORM\GeneratedValue
  16.      * @ORM\Column(type="integer")
  17.      */
  18.     private $id;
  19.     /**
  20.      * @ORM\Column(type="string")
  21.      */
  22.     private $companyName;
  23.     /**
  24.      * @ORM\Column(type="string")
  25.      */
  26.     private $siteEmail;
  27.     /**
  28.      * @ORM\Column(type="string")
  29.      */
  30.     private $address;
  31.     /**
  32.      * @ORM\Column(type="string")
  33.      */
  34.     private $city;
  35.     /**
  36.      * @ORM\Column(type="string")
  37.      */
  38.     private $provinceState;
  39.     /**
  40.      * @ORM\Column(type="string")
  41.      */
  42.     private $postalCodeZip;
  43.     /**
  44.      * @ORM\Column(type="string")
  45.      */
  46.     private $country;
  47.     /**
  48.      * @ORM\Column(type="string")
  49.      */
  50.     private $telephone;
  51.     /**
  52.      * @ORM\Column(type="string")
  53.      */
  54.     private $websiteTheme;
  55.     /**
  56.      * @ORM\Column(type="string")
  57.      */
  58.     private $googleAnalyticApiKey;
  59.     /**
  60.      * @Vich\UploadableField(mapping="setting_upload", fileNameProperty="companyLogo")
  61.      * @var File
  62.      */
  63.     private $companyFile;
  64.     /**
  65.      * @ORM\Column(type="string")
  66.      */
  67.     private $companyLogo;
  68.     /**
  69.      * @Vich\UploadableField(mapping="setting_upload", fileNameProperty="companyLogo")
  70.      * @var File
  71.      */
  72.     private $faviconFile;
  73.     /**
  74.      * @ORM\Column(type="string")
  75.      */
  76.     private $favicon;
  77.     /**
  78.      * @ORM\Column(type="string")
  79.      */
  80.     private $defaultLanguage;
  81.     /**
  82.      * @ORM\Column(type="string")
  83.      */
  84.     private $defaultCurrency;
  85.     /**
  86.      * @ORM\Column(type="string")
  87.      */
  88.     private $recipientEmail;
  89.     /**
  90.      * @ORM\Column(type="boolean")
  91.      */
  92.     private $putSiteOffline;
  93.     /**
  94.      * @ORM\Column(type="text")
  95.      */
  96.     private $offlineMessage;
  97.     /**
  98.      * @ORM\Column(type="string")
  99.      */
  100.     private $smtpHostname;
  101.     /**
  102.      * @ORM\Column(type="string")
  103.      */
  104.     private $smtpUsername;
  105.     /**
  106.      * @ORM\Column(type="string")
  107.      */
  108.     private $smtpPassword;
  109.     /**
  110.      * @ORM\Column(type="integer")
  111.      */
  112.     private $smtpPort;
  113.     /**
  114.      * @ORM\Column(type="boolean")
  115.      */
  116.     private $requiresSsl;
  117.     /**
  118.      * @ORM\Column(type="text")
  119.      */
  120.     private $siteWideMetaKeywords;
  121.     /**
  122.      * @ORM\Column(type="text")
  123.      */
  124.     private $siteWideMetaDescription;
  125.     /**
  126.      * @return mixed
  127.      */
  128.     public function getCompanyName()
  129.     {
  130.         return $this->companyName;
  131.     }
  132.     /**
  133.      * @param mixed $companyName
  134.      */
  135.     public function setCompanyName($companyName): void
  136.     {
  137.         $this->companyName $companyName;
  138.     }
  139.     /**
  140.      * @return mixed
  141.      */
  142.     public function getSiteEmail()
  143.     {
  144.         return $this->siteEmail;
  145.     }
  146.     /**
  147.      * @param mixed $siteEmail
  148.      */
  149.     public function setSiteEmail($siteEmail): void
  150.     {
  151.         $this->siteEmail $siteEmail;
  152.     }
  153.     /**
  154.      * @return mixed
  155.      */
  156.     public function getAddress()
  157.     {
  158.         return $this->address;
  159.     }
  160.     /**
  161.      * @param mixed $address
  162.      */
  163.     public function setAddress($address): void
  164.     {
  165.         $this->address $address;
  166.     }
  167.     /**
  168.      * @return mixed
  169.      */
  170.     public function getCity()
  171.     {
  172.         return $this->city;
  173.     }
  174.     /**
  175.      * @param mixed $city
  176.      */
  177.     public function setCity($city): void
  178.     {
  179.         $this->city $city;
  180.     }
  181.     /**
  182.      * @return mixed
  183.      */
  184.     public function getProvinceState()
  185.     {
  186.         return $this->provinceState;
  187.     }
  188.     /**
  189.      * @param mixed $provinceState
  190.      */
  191.     public function setProvinceState($provinceState): void
  192.     {
  193.         $this->provinceState $provinceState;
  194.     }
  195.     /**
  196.      * @return mixed
  197.      */
  198.     public function getPostalCodeZip()
  199.     {
  200.         return $this->postalCodeZip;
  201.     }
  202.     /**
  203.      * @param mixed $postalCodeZip
  204.      */
  205.     public function setPostalCodeZip($postalCodeZip): void
  206.     {
  207.         $this->postalCodeZip $postalCodeZip;
  208.     }
  209.     /**
  210.      * @return mixed
  211.      */
  212.     public function getCountry()
  213.     {
  214.         return $this->country;
  215.     }
  216.     /**
  217.      * @param mixed $country
  218.      */
  219.     public function setCountry($country): void
  220.     {
  221.         $this->country $country;
  222.     }
  223.     /**
  224.      * @return mixed
  225.      */
  226.     public function getTelephone()
  227.     {
  228.         return $this->telephone;
  229.     }
  230.     /**
  231.      * @param mixed $telephone
  232.      */
  233.     public function setTelephone($telephone): void
  234.     {
  235.         $this->telephone $telephone;
  236.     }
  237.     /**
  238.      * @return mixed
  239.      */
  240.     public function getWebsiteTheme()
  241.     {
  242.         return $this->websiteTheme;
  243.     }
  244.     /**
  245.      * @param mixed $websiteTheme
  246.      */
  247.     public function setWebsiteTheme($websiteTheme): void
  248.     {
  249.         $this->websiteTheme $websiteTheme;
  250.     }
  251.     /**
  252.      * @return mixed
  253.      */
  254.     public function getGoogleAnalyticApiKey()
  255.     {
  256.         return $this->googleAnalyticApiKey;
  257.     }
  258.     /**
  259.      * @param mixed $googleAnalyticApiKey
  260.      */
  261.     public function setGoogleAnalyticApiKey($googleAnalyticApiKey): void
  262.     {
  263.         $this->googleAnalyticApiKey $googleAnalyticApiKey;
  264.     }
  265.     /**
  266.      * @return mixed
  267.      */
  268.     public function getCompanyLogo()
  269.     {
  270.         return $this->companyLogo;
  271.     }
  272.     /**
  273.      * @param mixed $companyLogo
  274.      */
  275.     public function setCompanyLogo($companyLogo): void
  276.     {
  277.         $this->companyLogo $companyLogo;
  278.     }
  279.     public function getFavicon(): ?string
  280.     {
  281.         return $this->favicon;
  282.     }
  283.     public function setFavicon(string $favicon): self
  284.     {
  285.         $this->favicon $favicon;
  286.         return $this;
  287.     }
  288.     public function getDefaultLanguage(): ?string
  289.     {
  290.         return $this->defaultLanguage;
  291.     }
  292.     public function setDefaultLanguage(string $defaultLanguage): self
  293.     {
  294.         $this->defaultLanguage $defaultLanguage;
  295.         return $this;
  296.     }
  297.     public function getDefaultCurrency(): ?string
  298.     {
  299.         return $this->defaultCurrency;
  300.     }
  301.     public function setDefaultCurrency(string $defaultCurrency): self
  302.     {
  303.         $this->defaultCurrency $defaultCurrency;
  304.         return $this;
  305.     }
  306.     public function getRecipientEmail(): ?string
  307.     {
  308.         return $this->recipientEmail;
  309.     }
  310.     public function setRecipientEmail(string $recipientEmail): self
  311.     {
  312.         $this->recipientEmail $recipientEmail;
  313.         return $this;
  314.     }
  315.     public function isPutSiteOffline(): ?bool
  316.     {
  317.         return $this->putSiteOffline;
  318.     }
  319.     public function setPutSiteOffline(bool $putSiteOffline): self
  320.     {
  321.         $this->putSiteOffline $putSiteOffline;
  322.         return $this;
  323.     }
  324.     public function getOfflineMessage(): ?string
  325.     {
  326.         return $this->offlineMessage;
  327.     }
  328.     public function setOfflineMessage(string $offlineMessage): self
  329.     {
  330.         $this->offlineMessage $offlineMessage;
  331.         return $this;
  332.     }
  333.     public function getSmtpHostname(): ?string
  334.     {
  335.         return $this->smtpHostname;
  336.     }
  337.     public function setSmtpHostname(string $smtpHostname): self
  338.     {
  339.         $this->smtpHostname $smtpHostname;
  340.         return $this;
  341.     }
  342.     public function getSmtpUsername(): ?string
  343.     {
  344.         return $this->smtpUsername;
  345.     }
  346.     public function setSmtpUsername(string $smtpUsername): self
  347.     {
  348.         $this->smtpUsername $smtpUsername;
  349.         return $this;
  350.     }
  351.     public function getSmtpPassword(): ?string
  352.     {
  353.         return $this->smtpPassword;
  354.     }
  355.     public function setSmtpPassword(string $smtpPassword): self
  356.     {
  357.         $this->smtpPassword $smtpPassword;
  358.         return $this;
  359.     }
  360.     public function getSmtpPort(): ?int
  361.     {
  362.         return $this->smtpPort;
  363.     }
  364.     public function setSmtpPort(int $smtpPort): self
  365.     {
  366.         $this->smtpPort $smtpPort;
  367.         return $this;
  368.     }
  369.     public function isRequiresSsl(): ?bool
  370.     {
  371.         return $this->requiresSsl;
  372.     }
  373.     public function setRequiresSsl(bool $requiresSsl): self
  374.     {
  375.         $this->requiresSsl $requiresSsl;
  376.         return $this;
  377.     }
  378.     public function getSiteWideMetaKeywords(): ?string
  379.     {
  380.         return $this->siteWideMetaKeywords;
  381.     }
  382.     public function setSiteWideMetaKeywords(string $siteWideMetaKeywords): self
  383.     {
  384.         $this->siteWideMetaKeywords $siteWideMetaKeywords;
  385.         return $this;
  386.     }
  387.     public function getSiteWideMetaDescription(): ?string
  388.     {
  389.         return $this->siteWideMetaDescription;
  390.     }
  391.     public function setSiteWideMetaDescription(string $siteWideMetaDescription): self
  392.     {
  393.         $this->siteWideMetaDescription $siteWideMetaDescription;
  394.         return $this;
  395.     }
  396.     public function getId(): ?int
  397.     {
  398.         return $this->id;
  399.     }
  400. }