added getters & setters

This commit is contained in:
tracer 2022-10-23 12:46:00 +02:00
parent 5447a7dbad
commit b4ab876463
1 changed files with 47 additions and 0 deletions

View File

@ -1,4 +1,11 @@
<?php <?php
/*
* Copyright (c) 2022. Micha Espey <tracer@24unix.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/
namespace App\Entity; namespace App\Entity;
@ -13,4 +20,44 @@ class AddressBookEntry
{ {
// empty body // 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;
}
} }