src/Entity/Settings.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * Settings
  6. *
  7. * @ORM\Table(name="settings")
  8. * @ORM\Entity
  9. */
  10. class Settings
  11. {
  12. /**
  13. * @var int
  14. *
  15. * @ORM\Column(name="id", type="integer", nullable=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. */
  19. private $id;
  20. /**
  21. * @var string|null
  22. *
  23. * @ORM\Column(name="company_name", type="text", length=65535, nullable=true, options={"comment"="Cég név"})
  24. */
  25. private $companyName;
  26. /**
  27. * @var string|null
  28. *
  29. * @ORM\Column(name="company_address", type="text", length=65535, nullable=true, options={"comment"="Cég cím"})
  30. */
  31. private $companyAddress;
  32. /**
  33. * @var string|null
  34. *
  35. * @ORM\Column(name="company_phone", type="string", length=40, nullable=true, options={"comment"="Cég telefonszám"})
  36. */
  37. private $companyPhone;
  38. /**
  39. * @var string|null
  40. *
  41. * @ORM\Column(name="company_mail", type="string", length=250, nullable=true, options={"comment"="Cég email"})
  42. */
  43. private $companyMail;
  44. /**
  45. * @var string|null
  46. *
  47. * @ORM\Column(name="company_other", type="text", length=65535, nullable=true, options={"comment"="Cég egyéb"})
  48. */
  49. private $companyOther;
  50. /**
  51. * @var int
  52. *
  53. * @ORM\Column(name="price_hour", type="integer", nullable=false, options={"comment"="Óradíj"})
  54. */
  55. private $priceHour = '0';
  56. public function getId(): ?int
  57. {
  58. return $this->id;
  59. }
  60. public function getCompanyName(): ?string
  61. {
  62. return $this->companyName;
  63. }
  64. public function setCompanyName(?string $companyName): self
  65. {
  66. $this->companyName = $companyName;
  67. return $this;
  68. }
  69. public function getCompanyAddress(): ?string
  70. {
  71. return $this->companyAddress;
  72. }
  73. public function setCompanyAddress(?string $companyAddress): self
  74. {
  75. $this->companyAddress = $companyAddress;
  76. return $this;
  77. }
  78. public function getCompanyPhone(): ?string
  79. {
  80. return $this->companyPhone;
  81. }
  82. public function setCompanyPhone(?string $companyPhone): self
  83. {
  84. $this->companyPhone = $companyPhone;
  85. return $this;
  86. }
  87. public function getCompanyMail(): ?string
  88. {
  89. return $this->companyMail;
  90. }
  91. public function setCompanyMail(?string $companyMail): self
  92. {
  93. $this->companyMail = $companyMail;
  94. return $this;
  95. }
  96. public function getCompanyOther(): ?string
  97. {
  98. return $this->companyOther;
  99. }
  100. public function setCompanyOther(?string $companyOther): self
  101. {
  102. $this->companyOther = $companyOther;
  103. return $this;
  104. }
  105. public function getPriceHour(): ?int
  106. {
  107. return $this->priceHour;
  108. }
  109. public function setPriceHour(int $priceHour): self
  110. {
  111. $this->priceHour = $priceHour;
  112. return $this;
  113. }
  114. public function getTechnicalAlert(){
  115. return 8;
  116. }
  117. }