You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.3 KiB
63 lines
1.3 KiB
<?php
|
|
|
|
namespace IQBall\Core\Data;
|
|
|
|
class TacticInfo {
|
|
private int $id;
|
|
private string $name;
|
|
private int $creationDate;
|
|
private int $ownerId;
|
|
private CourtType $courtType;
|
|
private string $content;
|
|
|
|
/**
|
|
* @param int $id
|
|
* @param string $name
|
|
* @param int $creationDate
|
|
* @param int $ownerId
|
|
* @param CourtType $type
|
|
* @param string $content
|
|
*/
|
|
public function __construct(int $id, string $name, int $creationDate, int $ownerId, CourtType $type, string $content) {
|
|
$this->id = $id;
|
|
$this->name = $name;
|
|
$this->ownerId = $ownerId;
|
|
$this->creationDate = $creationDate;
|
|
$this->courtType = $type;
|
|
$this->content = $content;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getContent(): string {
|
|
return $this->content;
|
|
}
|
|
|
|
public function getId(): int {
|
|
return $this->id;
|
|
}
|
|
|
|
public function getName(): string {
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getOwnerId(): int {
|
|
return $this->ownerId;
|
|
}
|
|
|
|
public function getCourtType(): CourtType {
|
|
return $this->courtType;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getCreationDate(): int {
|
|
return $this->creationDate;
|
|
}
|
|
}
|