From 31944984f9a8e7340d7c08182d7d4413f0b12788 Mon Sep 17 00:00:00 2001 From: tracer Date: Mon, 31 Jan 2022 14:48:03 +0100 Subject: [PATCH] initial commit Signed-off-by: tracer --- src/Entity/Apikey.php | 90 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 src/Entity/Apikey.php diff --git a/src/Entity/Apikey.php b/src/Entity/Apikey.php new file mode 100644 index 0000000..a2d8325 --- /dev/null +++ b/src/Entity/Apikey.php @@ -0,0 +1,90 @@ +id = $id; + $this->name = $name; + $this->apiTokenPrefix = $apiTokenPrefix; + $this->apiToken = $apiToken; + } + + + /** + * @return String + */ + public function getApiToken(): string + { + return $this->apiToken; + } + + /** + * @return string + */ + public function getApiTokenPrefix(): string + { + return $this->apiTokenPrefix; + } + + + /** + * @return int + */ + public function getId(): int + { + return $this->id; + } + + /** + * @param int $id + */ + public function setId(int $id): void + { + $this->id = $id; + } + + /** + * @return String + */ + public function getName(): string + { + return $this->name; + } + + /** + * @param string $apiTokenPrefix + */ + public function setApiTokenPrefix(string $apiTokenPrefix): void + { + $this->apiTokenPrefix = $apiTokenPrefix; + } + + /** + * @param String $apiToken + */ + public function setApiToken(string $apiToken): void + { + $this->apiToken = $apiToken; + } + + + /** + * @param String $name + */ + public function setName(string $name): void + { + $this->name = $name; + } + +} \ No newline at end of file