src/Entity/System/AddressEncrypted.php line 14

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity\System;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass="App\Repository\System\AddressEncryptedRepository")
  7. *
  8. * @ORM\Table
  9. */
  10. class AddressEncrypted
  11. {
  12. /**
  13. * @ORM\Id
  14. *
  15. * @ORM\GeneratedValue(strategy="AUTO")
  16. *
  17. * @ORM\Column(type="integer")
  18. */
  19. private ?int $id;
  20. /**
  21. * @ORM\Column(type="text", nullable=true)
  22. */
  23. private ?string $name;
  24. /**
  25. * @ORM\Column(type="text", nullable=true)
  26. */
  27. private ?string $email;
  28. /**
  29. * @ORM\Column(type="text", nullable=true)
  30. */
  31. private ?string $surnames;
  32. /**
  33. * @ORM\Column(type="text", nullable=true)
  34. */
  35. private ?string $address1;
  36. /**
  37. * @ORM\Column(type="text", nullable=true)
  38. */
  39. private ?string $address2;
  40. /**
  41. * @ORM\Column(type="text", nullable=true)
  42. */
  43. private ?string $postcode;
  44. /**
  45. * @ORM\Column(type="text", nullable=true)
  46. */
  47. private ?string $city;
  48. /**
  49. * @ORM\Column(type="text", nullable=true)
  50. */
  51. private ?string $phone;
  52. /**
  53. * @ORM\Column(type="text", nullable=true)
  54. */
  55. private ?string $phoneMobile;
  56. /**
  57. * @ORM\Column(type="text", nullable=true)
  58. */
  59. private ?string $vatNumber;
  60. /**
  61. * @ORM\ManyToOne(targetEntity="App\Entity\System\EncryptionKey")
  62. */
  63. private ?EncryptionKey $encryptionKey = null;
  64. public function getId(): ?int
  65. {
  66. return $this->id;
  67. }
  68. public function getName(): ?string
  69. {
  70. return $this->name;
  71. }
  72. public function setName(?string $name): self
  73. {
  74. $this->name = $name;
  75. return $this;
  76. }
  77. public function getEmail(): ?string
  78. {
  79. return $this->email;
  80. }
  81. public function setEmail(?string $email): self
  82. {
  83. $this->email = $email;
  84. return $this;
  85. }
  86. public function getSurnames(): ?string
  87. {
  88. return $this->surnames;
  89. }
  90. public function setSurnames(?string $surnames): self
  91. {
  92. $this->surnames = $surnames;
  93. return $this;
  94. }
  95. public function getAddress1(): ?string
  96. {
  97. return $this->address1;
  98. }
  99. public function setAddress1(?string $address1): self
  100. {
  101. $this->address1 = $address1;
  102. return $this;
  103. }
  104. public function getAddress2(): ?string
  105. {
  106. return $this->address2;
  107. }
  108. public function setAddress2(?string $address2): self
  109. {
  110. $this->address2 = $address2;
  111. return $this;
  112. }
  113. public function getPostcode(): ?string
  114. {
  115. return $this->postcode;
  116. }
  117. public function setPostcode(?string $postcode): self
  118. {
  119. $this->postcode = $postcode;
  120. return $this;
  121. }
  122. public function getCity(): ?string
  123. {
  124. return $this->city;
  125. }
  126. public function setCity(?string $city): self
  127. {
  128. $this->city = $city;
  129. return $this;
  130. }
  131. public function getPhone(): ?string
  132. {
  133. return $this->phone;
  134. }
  135. public function setPhone(?string $phone): self
  136. {
  137. $this->phone = $phone;
  138. return $this;
  139. }
  140. /**
  141. * @return string|null
  142. */
  143. public function getPhoneMobile(): ?string
  144. {
  145. return $this->phoneMobile;
  146. }
  147. public function setPhoneMobile(?string $phoneMobile): self
  148. {
  149. $this->phoneMobile = $phoneMobile;
  150. return $this;
  151. }
  152. public function getVatNumber(): ?string
  153. {
  154. return $this->vatNumber;
  155. }
  156. public function setVatNumber(?string $vatNumber): self
  157. {
  158. $this->vatNumber = $vatNumber;
  159. return $this;
  160. }
  161. public function getEncryptionKey(): ?EncryptionKey
  162. {
  163. return $this->encryptionKey;
  164. }
  165. public function setEncryptionKey(?EncryptionKey $encryptionKey): self
  166. {
  167. $this->encryptionKey = $encryptionKey;
  168. return $this;
  169. }
  170. }