| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- declare(strict_types=1);
- namespace Meramo\Begriffmgt\Domain\Model;
- use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
- class Term extends AbstractEntity
- {
- protected string $term = '';
- protected ?Category $category = null;
- protected ?Type $type = null;
- protected ?Url $url = null;
- public function getTerm(): string {
- return $this->term;
- }
- public function setTerm(string $term): void {
- $this->term = $term;
- }
- public function getCategory(): ?Category {
- return $this->category;
- }
- public function setCategory(?Category $category): void {
- $this->category = $category;
- }
- public function getType(): ?Type {
- return $this->type;
- }
- public function setType(?Type $type): void {
- $this->type = $type;
- }
- public function getUrl(): ?Url {
- return $this->url;
- }
- public function setUrl(?Url $url): void {
- $this->url = $url;
- }
- }
|