src/Entity/System/CustomerInvoiceAddressEncrypted.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\CustomerInvoiceAddressEncryptedRepository")
  7. *
  8. * @ORM\Table
  9. */
  10. class CustomerInvoiceAddressEncrypted
  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\ManyToOne(targetEntity="App\Entity\System\EncryptionKey")
  58. */
  59. private ?EncryptionKey $encryptionKey = null;
  60. public function getId(): ?int
  61. {
  62. return $this->id;
  63. }
  64. public function getName(): ?string
  65. {
  66. return $this->name;
  67. }
  68. public function setName(?string $name): self
  69. {
  70. $this->name = $name;
  71. return $this;
  72. }
  73. public function getEmail(): ?string
  74. {
  75. return $this->email;
  76. }
  77. public function setEmail(?string $email): self
  78. {
  79. $this->email = $email;
  80. return $this;
  81. }
  82. public function getSurnames(): ?string
  83. {
  84. return $this->surnames;
  85. }
  86. public function setSurnames(?string $surnames): self
  87. {
  88. $this->surnames = $surnames;
  89. return $this;
  90. }
  91. public function getAddress1(): ?string
  92. {
  93. return $this->address1;
  94. }
  95. public function setAddress1(?string $address1): self
  96. {
  97. $this->address1 = $address1;
  98. return $this;
  99. }
  100. public function getAddress2(): ?string
  101. {
  102. return $this->address2;
  103. }
  104. public function setAddress2(?string $address2): self
  105. {
  106. $this->address2 = $address2;
  107. return $this;
  108. }
  109. public function getPostcode(): ?string
  110. {
  111. return $this->postcode;
  112. }
  113. public function setPostcode(?string $postcode): self
  114. {
  115. $this->postcode = $postcode;
  116. return $this;
  117. }
  118. public function getCity(): ?string
  119. {
  120. return $this->city;
  121. }
  122. public function setCity(?string $city): self
  123. {
  124. $this->city = $city;
  125. return $this;
  126. }
  127. public function getPhone(): ?string
  128. {
  129. return $this->phone;
  130. }
  131. public function setPhone(?string $phone): self
  132. {
  133. $this->phone = $phone;
  134. return $this;
  135. }
  136. public function getPhoneMobile(): ?string
  137. {
  138. return $this->phoneMobile;
  139. }
  140. public function setPhoneMobile(?string $phoneMobile): self
  141. {
  142. $this->phoneMobile = $phoneMobile;
  143. return $this;
  144. }
  145. public function getEncryptionKey(): ?EncryptionKey
  146. {
  147. return $this->encryptionKey;
  148. }
  149. public function setEncryptionKey(?EncryptionKey $encryptionKey): self
  150. {
  151. $this->encryptionKey = $encryptionKey;
  152. return $this;
  153. }
  154. }