Terms.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?php
  2. declare(strict_types=1);
  3. namespace Meramo\Chatbotui\Domain\Model;
  4. /**
  5. * This file is part of the "Chatbot UI" Extension for TYPO3 CMS.
  6. *
  7. * For the full copyright and license information, please read the
  8. * LICENSE.txt file that was distributed with this source code.
  9. *
  10. * (c) 2023 Meramo Developer <develop@meramo.de>, Meramo Verlag GmbH
  11. */
  12. /**
  13. * Terms to filter
  14. */
  15. class Terms extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
  16. {
  17. /**
  18. * Term type
  19. *
  20. * @var \Meramo\Chatbotui\Domain\Model\Type
  21. */
  22. protected $type = null;
  23. /**
  24. * Term category
  25. *
  26. * @var \Meramo\Chatbotui\Domain\Model\Category
  27. */
  28. protected $category = null;
  29. /**
  30. * Redirect page url
  31. *
  32. * @var \Meramo\Chatbotui\Domain\Model\Url
  33. */
  34. protected $url = null;
  35. /**
  36. * Returns the type
  37. *
  38. * @return \Meramo\Chatbotui\Domain\Model\Type $type
  39. */
  40. public function getType()
  41. {
  42. return $this->type;
  43. }
  44. /**
  45. * Sets the type
  46. *
  47. * @param \Meramo\Chatbotui\Domain\Model\Type $type
  48. * @return void
  49. */
  50. public function setType(\Meramo\Chatbotui\Domain\Model\Type $type)
  51. {
  52. $this->type = $type;
  53. }
  54. /**
  55. * Returns the category
  56. *
  57. * @return \Meramo\Chatbotui\Domain\Model\Category $category
  58. */
  59. public function getCategory()
  60. {
  61. return $this->category;
  62. }
  63. /**
  64. * Sets the category
  65. *
  66. * @param \Meramo\Chatbotui\Domain\Model\Category $category
  67. * @return void
  68. */
  69. public function setCategory(\Meramo\Chatbotui\Domain\Model\Category $category)
  70. {
  71. $this->category = $category;
  72. }
  73. /**
  74. * Returns the url
  75. *
  76. * @return \Meramo\Chatbotui\Domain\Model\Url $url
  77. */
  78. public function getUrl()
  79. {
  80. return $this->url;
  81. }
  82. /**
  83. * Sets the url
  84. *
  85. * @param \Meramo\Chatbotui\Domain\Model\Url $url
  86. * @return void
  87. */
  88. public function setUrl(\Meramo\Chatbotui\Domain\Model\Url $url)
  89. {
  90. $this->url = $url;
  91. }
  92. }