src/Entity/Header.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\HeaderRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=HeaderRepository::class)
  7. */
  8. class Header
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\Column(type="string", length=255)
  18. */
  19. private $title;
  20. /**
  21. * @ORM\Column(type="text")
  22. */
  23. private $content;
  24. /**
  25. * @ORM\Column(type="string", length=255)
  26. */
  27. private $buttonTitle;
  28. /**
  29. * @ORM\Column(type="string", length=255)
  30. */
  31. private $buttonLink;
  32. /**
  33. * @ORM\Column(type="string", length=255)
  34. */
  35. private $illustration;
  36. public function getId(): ?int
  37. {
  38. return $this->id;
  39. }
  40. public function getTitle(): ?string
  41. {
  42. return $this->title;
  43. }
  44. public function setTitle(string $title): self
  45. {
  46. $this->title = $title;
  47. return $this;
  48. }
  49. public function getContent(): ?string
  50. {
  51. return $this->content;
  52. }
  53. public function setContent(string $content): self
  54. {
  55. $this->content = $content;
  56. return $this;
  57. }
  58. public function getButtonTitle(): ?string
  59. {
  60. return $this->buttonTitle;
  61. }
  62. public function setButtonTitle(string $buttonTitle): self
  63. {
  64. $this->buttonTitle = $buttonTitle;
  65. return $this;
  66. }
  67. public function getButtonLink(): ?string
  68. {
  69. return $this->buttonLink;
  70. }
  71. public function setButtonLink(string $buttonLink): self
  72. {
  73. $this->buttonLink = $buttonLink;
  74. return $this;
  75. }
  76. public function getIllustration(): ?string
  77. {
  78. return $this->illustration;
  79. }
  80. public function setIllustration(string $illustration): self
  81. {
  82. $this->illustration = $illustration;
  83. return $this;
  84. }
  85. }