wip watten

This commit is contained in:
salam committed 2026-10-18 17:49:22 +02:00
1 parent 8ace316cbf
commit afc8a6e1f5
93 files changed
+14369 -1

No files matched your search

@@ -0,0 +1,119 @@
<?php
namespace HermannTelser\Watten\Domain\Model;
use \DateTime;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
class Events extends AbstractEntity
{
/**
* @var DateTime
*/
protected $datum = 0;
/**
* @var int
*/
protected $tournaments_id = 0;
/**
* @var string
*/
protected $event = 0;
/**
* @var int
*/
protected $isactive = 0;
public function __construct(int $datum = 0, int $tournaments_id = 0, string $event = '', int $isactive = 0)
{
$this->setDatum($datum);
$this->setTournamentId($tournaments_id);
$this->setEvent($event);
$this->setIsactive($isactive);
}
/**
*
* @param DateTime $datum
*
* @return void
*/
public function setDatum(int $datum): void
{
$this->datum = $datum;
}
/**
*
* @return DateTime
*/
public function getDatum(): int
{
return $this->datum;
}
/**
*
* @param int $tournaments_id
*
* @return void
*/
public function setTournamentId(int $tournaments_id): void
{
$this->s1 = $tournaments_id;
}
/**
*
* @return Int
*/
public function getTournamentId(): int
{
return $this->tournaments_id;
}
/**
*
* @param String $event
*
* @return void
*/
public function setEvent(string $event): void
{
$this->event = $event;
}
/**
*
* @return String
*/
public function getEvent(): string
{
return $this->event;
}
/**
*
* @param int $isactive
*
* @return void
*/
public function setIsactive(int $isactive): void
{
$this->s1 = $isactive;
}
/**
*
* @return Int
*/
public function getIsactive(): int
{
return $this->isactive;
}
}