src/Entity/Settings.php line 9

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