<?php
declare(strict_types=1);
namespace App\Entity\System;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\System\AddressEncryptedRepository")
*
* @ORM\Table
*/
class AddressEncrypted
{
/**
* @ORM\Id
*
* @ORM\GeneratedValue(strategy="AUTO")
*
* @ORM\Column(type="integer")
*/
private ?int $id;
/**
* @ORM\Column(type="text", nullable=true)
*/
private ?string $name;
/**
* @ORM\Column(type="text", nullable=true)
*/
private ?string $email;
/**
* @ORM\Column(type="text", nullable=true)
*/
private ?string $surnames;
/**
* @ORM\Column(type="text", nullable=true)
*/
private ?string $address1;
/**
* @ORM\Column(type="text", nullable=true)
*/
private ?string $address2;
/**
* @ORM\Column(type="text", nullable=true)
*/
private ?string $postcode;
/**
* @ORM\Column(type="text", nullable=true)
*/
private ?string $city;
/**
* @ORM\Column(type="text", nullable=true)
*/
private ?string $phone;
/**
* @ORM\Column(type="text", nullable=true)
*/
private ?string $phoneMobile;
/**
* @ORM\Column(type="text", nullable=true)
*/
private ?string $vatNumber;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\System\EncryptionKey")
*/
private ?EncryptionKey $encryptionKey = null;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(?string $email): self
{
$this->email = $email;
return $this;
}
public function getSurnames(): ?string
{
return $this->surnames;
}
public function setSurnames(?string $surnames): self
{
$this->surnames = $surnames;
return $this;
}
public function getAddress1(): ?string
{
return $this->address1;
}
public function setAddress1(?string $address1): self
{
$this->address1 = $address1;
return $this;
}
public function getAddress2(): ?string
{
return $this->address2;
}
public function setAddress2(?string $address2): self
{
$this->address2 = $address2;
return $this;
}
public function getPostcode(): ?string
{
return $this->postcode;
}
public function setPostcode(?string $postcode): self
{
$this->postcode = $postcode;
return $this;
}
public function getCity(): ?string
{
return $this->city;
}
public function setCity(?string $city): self
{
$this->city = $city;
return $this;
}
public function getPhone(): ?string
{
return $this->phone;
}
public function setPhone(?string $phone): self
{
$this->phone = $phone;
return $this;
}
/**
* @return string|null
*/
public function getPhoneMobile(): ?string
{
return $this->phoneMobile;
}
public function setPhoneMobile(?string $phoneMobile): self
{
$this->phoneMobile = $phoneMobile;
return $this;
}
public function getVatNumber(): ?string
{
return $this->vatNumber;
}
public function setVatNumber(?string $vatNumber): self
{
$this->vatNumber = $vatNumber;
return $this;
}
public function getEncryptionKey(): ?EncryptionKey
{
return $this->encryptionKey;
}
public function setEncryptionKey(?EncryptionKey $encryptionKey): self
{
$this->encryptionKey = $encryptionKey;
return $this;
}
}