<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Settings
*
* @ORM\Table(name="settings")
* @ORM\Entity
*/
class Settings
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string|null
*
* @ORM\Column(name="company_name", type="text", length=65535, nullable=true, options={"comment"="Cég név"})
*/
private $companyName;
/**
* @var string|null
*
* @ORM\Column(name="company_address", type="text", length=65535, nullable=true, options={"comment"="Cég cím"})
*/
private $companyAddress;
/**
* @var string|null
*
* @ORM\Column(name="company_phone", type="string", length=40, nullable=true, options={"comment"="Cég telefonszám"})
*/
private $companyPhone;
/**
* @var string|null
*
* @ORM\Column(name="company_mail", type="string", length=250, nullable=true, options={"comment"="Cég email"})
*/
private $companyMail;
/**
* @var string|null
*
* @ORM\Column(name="company_other", type="text", length=65535, nullable=true, options={"comment"="Cég egyéb"})
*/
private $companyOther;
/**
* @var int
*
* @ORM\Column(name="price_hour", type="integer", nullable=false, options={"comment"="Óradíj"})
*/
private $priceHour = '0';
public function getId(): ?int
{
return $this->id;
}
public function getCompanyName(): ?string
{
return $this->companyName;
}
public function setCompanyName(?string $companyName): self
{
$this->companyName = $companyName;
return $this;
}
public function getCompanyAddress(): ?string
{
return $this->companyAddress;
}
public function setCompanyAddress(?string $companyAddress): self
{
$this->companyAddress = $companyAddress;
return $this;
}
public function getCompanyPhone(): ?string
{
return $this->companyPhone;
}
public function setCompanyPhone(?string $companyPhone): self
{
$this->companyPhone = $companyPhone;
return $this;
}
public function getCompanyMail(): ?string
{
return $this->companyMail;
}
public function setCompanyMail(?string $companyMail): self
{
$this->companyMail = $companyMail;
return $this;
}
public function getCompanyOther(): ?string
{
return $this->companyOther;
}
public function setCompanyOther(?string $companyOther): self
{
$this->companyOther = $companyOther;
return $this;
}
public function getPriceHour(): ?int
{
return $this->priceHour;
}
public function setPriceHour(int $priceHour): self
{
$this->priceHour = $priceHour;
return $this;
}
public function getTechnicalAlert(){
return 8;
}
}