From b4ab8764638c485fe3b2fb2b28e4311b558a6f47 Mon Sep 17 00:00:00 2001 From: tracer Date: Sun, 23 Oct 2022 12:46:00 +0200 Subject: [PATCH] added getters & setters --- src/Entity/AddressBookEntry.php | 47 +++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/src/Entity/AddressBookEntry.php b/src/Entity/AddressBookEntry.php index f944311..dbef36c 100644 --- a/src/Entity/AddressBookEntry.php +++ b/src/Entity/AddressBookEntry.php @@ -1,4 +1,11 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * + */ namespace App\Entity; @@ -13,4 +20,44 @@ class AddressBookEntry { // empty body } + + public function getUserid(): int + { + return $this->userid; + } + + public function setUserid(int $userid): void + { + $this->userid = $userid; + } + + public function getFirst(): string + { + return $this->first; + } + + public function setFirst(string $first): void + { + $this->first = $first; + } + + public function getLast(): string + { + return $this->last; + } + + public function setLast(string $last): void + { + $this->last = $last; + } + + public function getNick(): string + { + return $this->nick; + } + + public function setNick(string $nick): void + { + $this->nick = $nick; + } } \ No newline at end of file