Category.php 914 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. * Chatbot Term Category
  14. */
  15. class Category extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
  16. {
  17. /**
  18. * category
  19. *
  20. * @var string
  21. */
  22. protected $category = '';
  23. /**
  24. * Returns the category
  25. *
  26. * @return string $category
  27. */
  28. public function getCategory()
  29. {
  30. return $this->category;
  31. }
  32. /**
  33. * Sets the category
  34. *
  35. * @param string $category
  36. * @return void
  37. */
  38. public function setCategory(string $category)
  39. {
  40. $this->category = $category;
  41. }
  42. }