Term.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?php
  2. #declare(strict_types=1);
  3. namespace Meramo\Begriffmgt\Domain\Model;
  4. use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
  5. /**
  6. * This file is part of the "Chatbot Term Management" Extension for TYPO3 CMS.
  7. *
  8. * For the full copyright and license information, please read the
  9. * LICENSE.txt file that was distributed with this source code.
  10. *
  11. * (c) 2023 Meramo Developer <development@meramo.de>, Meramo Verlag GmbH
  12. */
  13. /**
  14. * Table is used to manage chatbot terms
  15. */
  16. class ChatbotTerm extends AbstractEntity
  17. {
  18. /**
  19. * chatbotType
  20. *
  21. * @var int
  22. */
  23. protected $chatbot_type = 0;
  24. /**
  25. * chatbotCategory
  26. *
  27. * @var int
  28. */
  29. protected $chatbot_category = 0;
  30. /**
  31. * chatbotTerms
  32. *
  33. * @var string
  34. */
  35. protected $chatbot_terms = '';
  36. /**
  37. * chatbotUrl
  38. *
  39. * @var string
  40. */
  41. protected $chatbot_url = '';
  42. /**
  43. * Returns the chatbotType
  44. *
  45. * @return int
  46. */
  47. public function getChatbotType()
  48. {
  49. return $this->chatbot_type;
  50. }
  51. /**
  52. * Sets the chatbotType
  53. *
  54. * @param int $chatbotType
  55. * @return void
  56. */
  57. public function setChatbotType(int $chatbot_type)
  58. {
  59. $this->chatbot_type = $chatbot_type;
  60. }
  61. /**
  62. * Returns the chatbot_category
  63. *
  64. * @return int
  65. */
  66. public function getChatbotCategory()
  67. {
  68. return $this->chatbot_category;
  69. }
  70. /**
  71. * Sets the chatbot_category
  72. *
  73. * @param int $chatbot_category
  74. * @return void
  75. */
  76. public function setChatbotCategory(int $chatbot_category)
  77. {
  78. $this->chatbot_category = $chatbot_category;
  79. }
  80. /**
  81. * Returns the chatbotTerms
  82. *
  83. * @return string
  84. */
  85. public function getChatbotTerms()
  86. {
  87. return $this->chatbot_terms;
  88. }
  89. /**
  90. * Sets the chatbotTerms
  91. *
  92. * @param string $chatbot_terms
  93. * @return void
  94. */
  95. public function setChatbotTerms(string $chatbot_terms)
  96. {
  97. $this->chatbot_terms = $chatbot_terms;
  98. }
  99. /**
  100. * Returns the chatbot_url
  101. *
  102. * @return string
  103. */
  104. public function getChatbotUrl()
  105. {
  106. return $this->chatbot_url;
  107. }
  108. /**
  109. * Sets the chatbot_url
  110. *
  111. * @param string $chatbotUrl
  112. * @return void
  113. */
  114. public function setChatbotUrl(string $chatbot_url)
  115. {
  116. $this->chatbot_url = $chatbot_url;
  117. }
  118. }