wip watten
This commit is contained in:
1 parent
8ace316cbf
commit
afc8a6e1f5
93 files changed
+14369
-1
No files matched your search
@@ -0,0 +1,117 @@
|
||||
<?php
|
||||
|
||||
namespace HermannTelser\Watten\Domain\Model;
|
||||
|
||||
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
||||
|
||||
class Athleten extends AbstractEntity
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
protected $gender = 0;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $name = '';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $image = '';
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
protected $isactive = 0;
|
||||
|
||||
|
||||
public function __construct(int $gender = 0, string $name = '', string $image = '', int $isactive = 0)
|
||||
{
|
||||
$this->setGender($gender);
|
||||
$this->setName($name);
|
||||
$this->setImage($image);
|
||||
$this->setIsactive($isactive);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param int $gender
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setGender(int $gender): void
|
||||
{
|
||||
$this->gender = $gender;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getGender(): int
|
||||
{
|
||||
return $this->gender;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setName(string $name): void
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getName(): string
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param string $image
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setImage(string $image): void
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getImage(): string
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param int $isactive
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setIsactive(int $isactive): void
|
||||
{
|
||||
$this->isactive = $isactive;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getIsactive(): int
|
||||
{
|
||||
return $this->isactive;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
namespace HermannTelser\Watten\Domain\Model;
|
||||
|
||||
use DateTime;
|
||||
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
||||
|
||||
class Ergebnisse extends AbstractEntity
|
||||
{
|
||||
/**
|
||||
* @var DateTime
|
||||
*/
|
||||
protected $datum = 0;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
protected $s1 = 0;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
protected $s2 = 0;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
protected $v1 = 0;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
protected $v2 = 0;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
protected $bumid = 0;
|
||||
|
||||
public function __construct(int $datum = 0, int $s1 = 0, int $s2 = 0, int $v1 = 0, int $v2 = 0, int $bumid = 0)
|
||||
{
|
||||
$this->setDatum($datum);
|
||||
$this->setS1($s1);
|
||||
$this->setS2($s2);
|
||||
$this->setV1($v1);
|
||||
$this->setV2($v2);
|
||||
$this->setBumid($bumid);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param DateTime $datum time stamp
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setDatum(int $datum): void
|
||||
{
|
||||
$this->datum = $datum;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return DateTime
|
||||
*/
|
||||
public function getDatum(): int
|
||||
{
|
||||
return $this->datum;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @param int $s1
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setS1(int $s1): void
|
||||
{
|
||||
$this->s1 = $s1;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Int
|
||||
*/
|
||||
public function getS1(): int
|
||||
{
|
||||
return $this->s1;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param int $s2
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setS2(int $s2): void
|
||||
{
|
||||
$this->s2 = $s2;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Int
|
||||
*/
|
||||
public function getS2(): int
|
||||
{
|
||||
return $this->s2;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param int $v1
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setV1(int $v1): void
|
||||
{
|
||||
$this->v1 = $v1;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Int
|
||||
*/
|
||||
public function getV1(): int
|
||||
{
|
||||
return $this->v1;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param int $v1
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setV2(int $v2): void
|
||||
{
|
||||
$this->v2 = $v2;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Int
|
||||
*/
|
||||
public function getV2(): int
|
||||
{
|
||||
return $this->v2;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param int $bumid
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setBumid(int $bumid): void
|
||||
{
|
||||
$this->bumid = $bumid;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Int
|
||||
*/
|
||||
public function getBumid(): int
|
||||
{
|
||||
return $this->bumid;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user