|
|
@@ -1,6 +1,5 @@
|
|
|
<?php
|
|
|
|
|
|
-
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
namespace App\Entity\SimulationSession;
|
|
|
@@ -62,146 +61,159 @@ class SimulationSession
|
|
|
#[ORM\OneToOne(mappedBy: 'simulationSession', targetEntity: Token::class, cascade: ['persist'])]
|
|
|
protected ?Token $token;
|
|
|
|
|
|
- function getId(): int
|
|
|
+ public function getId(): int
|
|
|
{
|
|
|
return $this->id;
|
|
|
}
|
|
|
|
|
|
- function setId(int $id): self
|
|
|
+ public function setId(int $id): self
|
|
|
{
|
|
|
$this->id = $id;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- function getInitiatorIp(): mixed
|
|
|
+ public function getInitiatorIp(): mixed
|
|
|
{
|
|
|
return $this->initiatorIp;
|
|
|
}
|
|
|
|
|
|
- function setInitiatorIp(mixed $initiatorIp): self
|
|
|
+ public function setInitiatorIp(mixed $initiatorIp): self
|
|
|
{
|
|
|
$this->initiatorIp = $initiatorIp;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- function getExpiryDate(): ?\DateTimeInterface
|
|
|
+ public function getExpiryDate(): ?\DateTimeInterface
|
|
|
{
|
|
|
return $this->expiryDate;
|
|
|
}
|
|
|
|
|
|
- function setExpiryDate(?\DateTimeInterface $expiryDate): self
|
|
|
+ public function setExpiryDate(?\DateTimeInterface $expiryDate): self
|
|
|
{
|
|
|
$this->expiryDate = $expiryDate;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- function getAlreadyUsed(): bool
|
|
|
+ public function getAlreadyUsed(): bool
|
|
|
{
|
|
|
return $this->alreadyUsed;
|
|
|
}
|
|
|
|
|
|
- function setAlreadyUsed(bool $alreadyUsed): self
|
|
|
+ public function setAlreadyUsed(bool $alreadyUsed): self
|
|
|
{
|
|
|
$this->alreadyUsed = $alreadyUsed;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- function getCreateDate(): ?\DateTimeInterface
|
|
|
+ public function getCreateDate(): ?\DateTimeInterface
|
|
|
{
|
|
|
return $this->createDate;
|
|
|
}
|
|
|
|
|
|
- function setCreateDate(?\DateTimeInterface $createDate): self
|
|
|
+ public function setCreateDate(?\DateTimeInterface $createDate): self
|
|
|
{
|
|
|
$this->createDate = $createDate;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- function getUpdateDate(): ?\DateTimeInterface
|
|
|
+ public function getUpdateDate(): ?\DateTimeInterface
|
|
|
{
|
|
|
return $this->updateDate;
|
|
|
}
|
|
|
|
|
|
- function setUpdateDate(?\DateTimeInterface $updateDate): self
|
|
|
+ public function setUpdateDate(?\DateTimeInterface $updateDate): self
|
|
|
{
|
|
|
$this->updateDate = $updateDate;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- function getLegacyId(): int
|
|
|
+ public function getLegacyId(): int
|
|
|
{
|
|
|
return $this->legacyId;
|
|
|
}
|
|
|
|
|
|
- function setLegacyId(int $legacyId): self
|
|
|
+ public function setLegacyId(int $legacyId): self
|
|
|
{
|
|
|
$this->legacyId = $legacyId;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- function getCreatedBy(): int
|
|
|
+ public function getCreatedBy(): int
|
|
|
{
|
|
|
return $this->createdBy;
|
|
|
}
|
|
|
|
|
|
- function setCreatedBy(int $createdBy): self
|
|
|
+ public function setCreatedBy(int $createdBy): self
|
|
|
{
|
|
|
$this->createdBy = $createdBy;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- function getUpdatedBy(): int
|
|
|
+ public function getUpdatedBy(): int
|
|
|
{
|
|
|
return $this->updatedBy;
|
|
|
}
|
|
|
|
|
|
- function setUpdatedBy(int $updatedBy): self
|
|
|
+ public function setUpdatedBy(int $updatedBy): self
|
|
|
{
|
|
|
$this->updatedBy = $updatedBy;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- function getDraft(): bool
|
|
|
+ public function getDraft(): bool
|
|
|
{
|
|
|
return $this->draft;
|
|
|
}
|
|
|
|
|
|
- function setDraft(bool $draft): self
|
|
|
+ public function setDraft(bool $draft): self
|
|
|
{
|
|
|
$this->draft = $draft;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- function getAccessInitiator(): Access
|
|
|
+ public function getAccessInitiator(): Access
|
|
|
{
|
|
|
return $this->accessInitiator;
|
|
|
}
|
|
|
|
|
|
- function setAccessInitiator(Access $accessInitiator): self
|
|
|
+ public function setAccessInitiator(Access $accessInitiator): self
|
|
|
{
|
|
|
$this->accessInitiator = $accessInitiator;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- function getAccessSimulated(): Access
|
|
|
+ public function getAccessSimulated(): Access
|
|
|
{
|
|
|
return $this->accessSimulated;
|
|
|
}
|
|
|
|
|
|
- function setAccessSimulated(Access $accessSimulated): self
|
|
|
+ public function setAccessSimulated(Access $accessSimulated): self
|
|
|
{
|
|
|
$this->accessSimulated = $accessSimulated;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- function getToken(): ?Token
|
|
|
+ public function getToken(): ?Token
|
|
|
{
|
|
|
return $this->token;
|
|
|
}
|
|
|
|
|
|
- function setToken(?Token $token): self
|
|
|
+ public function setToken(?Token $token): self
|
|
|
{
|
|
|
$this->token = $token;
|
|
|
+
|
|
|
return $this;
|
|
|
}
|
|
|
}
|