updated the fields
This commit is contained in:
		@@ -12,15 +12,69 @@ namespace App\Entity;
 | 
			
		||||
class AddressBookEntry
 | 
			
		||||
{
 | 
			
		||||
    public function __construct(
 | 
			
		||||
        private int $userid,
 | 
			
		||||
        private int $owner,
 | 
			
		||||
        private string $first,
 | 
			
		||||
        private string $last,
 | 
			
		||||
        private string $nick,
 | 
			
		||||
        private string $street,
 | 
			
		||||
        private string $zip,
 | 
			
		||||
        private string $city,
 | 
			
		||||
        private string $phone,
 | 
			
		||||
        private int $userid = 0,
 | 
			
		||||
    )
 | 
			
		||||
    {
 | 
			
		||||
        // empty body
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function getOwner(): int
 | 
			
		||||
    {
 | 
			
		||||
        return $this->owner;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function setOwner(int $owner): void
 | 
			
		||||
    {
 | 
			
		||||
        $this->owner = $owner;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function getStreet(): string
 | 
			
		||||
    {
 | 
			
		||||
        return $this->street;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function setStreet(string $street): void
 | 
			
		||||
    {
 | 
			
		||||
        $this->street = $street;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function getZip(): string
 | 
			
		||||
    {
 | 
			
		||||
        return $this->zip;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function setZip(string $zip): void
 | 
			
		||||
    {
 | 
			
		||||
        $this->zip = $zip;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function getCity(): string
 | 
			
		||||
    {
 | 
			
		||||
        return $this->city;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function setCity(string $city): void
 | 
			
		||||
    {
 | 
			
		||||
        $this->city = $city;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function getPhone(): string
 | 
			
		||||
    {
 | 
			
		||||
        return $this->phone;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function setPhone(string $phone): void
 | 
			
		||||
    {
 | 
			
		||||
        $this->phone = $phone;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function getUserid(): int
 | 
			
		||||
    {
 | 
			
		||||
        return $this->userid;
 | 
			
		||||
@@ -50,14 +104,4 @@ class AddressBookEntry
 | 
			
		||||
    {
 | 
			
		||||
        $this->last = $last;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function getNick(): string
 | 
			
		||||
    {
 | 
			
		||||
        return $this->nick;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function setNick(string $nick): void
 | 
			
		||||
    {
 | 
			
		||||
        $this->nick = $nick;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user