Type.php 916 B

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