src/Entity/Settings.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SettingsRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassSettingsRepository::class)]
  6. #[ORM\HasLifecycleCallbacks]
  7. class Settings extends BaseEntity
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column(type'integer')]
  12.     private $id;
  13.     #[ORM\Column(type'string'length255nullabletrue)]
  14.     private $Name;
  15.     #[ORM\Column(type'string'length255nullabletrue)]
  16.     private $Title;
  17.     #[ORM\Column(type'string'length255nullabletrue)]
  18.     private $Logo;
  19.     #[ORM\Column(type'string'length255nullabletrue)]
  20.     private $Email;
  21.     #[ORM\Column(type'string'length255nullabletrue)]
  22.     private $EmailPassword;
  23.     #[ORM\Column(type'string'length255nullabletrue)]
  24.     private $EmailSmtpHost;
  25.     #[ORM\Column(type'string'length255nullabletrue)]
  26.     private $EmailSmtpPort;
  27.     #[ORM\Column(nullabletrue)]
  28.     private ?int $invoiceNumberCounter null;
  29.     #[ORM\Column(type'boolean'options: ['default' => false])]
  30.     private ?bool $isMaintenanceMode false;
  31.     #[ORM\Column(type'string'length3options: ['default' => 'EUR'])]
  32.     private ?string $currency 'EUR';
  33.     public function getCurrency(): ?string
  34.     {
  35.         return $this->currency;
  36.     }
  37.     public function setCurrency(string $currency): self
  38.     {
  39.         $this->currency $currency;
  40.         return $this;
  41.     }
  42.     public function getId(): ?int
  43.     {
  44.         return $this->id;
  45.     }
  46.     public function isMaintenanceMode(): ?bool
  47.     {
  48.         return $this->isMaintenanceMode;
  49.     }
  50.     public function setIsMaintenanceMode(bool $isMaintenanceMode): self
  51.     {
  52.         $this->isMaintenanceMode $isMaintenanceMode;
  53.         return $this;
  54.     }
  55.     public function getName(): ?string
  56.     {
  57.         return $this->Name;
  58.     }
  59.     public function setName(?string $Name): self
  60.     {
  61.         $this->Name $Name;
  62.         return $this;
  63.     }
  64.     public function getTitle(): ?string
  65.     {
  66.         return $this->Title;
  67.     }
  68.     public function setTitle(?string $Title): self
  69.     {
  70.         $this->Title $Title;
  71.         return $this;
  72.     }
  73.     public function getLogo(): ?string
  74.     {
  75.         return $this->Logo;
  76.     }
  77.     public function setLogo(?string $Logo): self
  78.     {
  79.         $this->Logo $Logo;
  80.         return $this;
  81.     }
  82.     public function getEmail(): ?string
  83.     {
  84.         return $this->Email;
  85.     }
  86.     public function setEmail(?string $Email): self
  87.     {
  88.         $this->Email $Email;
  89.         return $this;
  90.     }
  91.     public function getEmailPassword(): ?string
  92.     {
  93.         return $this->EmailPassword;
  94.     }
  95.     public function setEmailPassword(?string $EmailPassword): self
  96.     {
  97.         $this->EmailPassword $EmailPassword;
  98.         return $this;
  99.     }
  100.     public function getEmailSmtpHost(): ?string
  101.     {
  102.         return $this->EmailSmtpHost;
  103.     }
  104.     public function setEmailSmtpHost(string $EmailSmtpHost): self
  105.     {
  106.         $this->EmailSmtpHost $EmailSmtpHost;
  107.         return $this;
  108.     }
  109.     public function getEmailSmtpPort(): ?string
  110.     {
  111.         return $this->EmailSmtpPort;
  112.     }
  113.     public function setEmailSmtpPort(?string $EmailSmtpPort): self
  114.     {
  115.         $this->EmailSmtpPort $EmailSmtpPort;
  116.         return $this;
  117.     }
  118.     public function getInvoiceNumberCounter(): ?int
  119.     {
  120.         return $this->invoiceNumberCounter;
  121.     }
  122.     public function setInvoiceNumberCounter(?int $invoiceNumberCounter): static
  123.     {
  124.         $this->invoiceNumberCounter $invoiceNumberCounter;
  125.         return $this;
  126.     }
  127. }