src/Entity/System/SynchronisedShopStatusRegistry.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity\System;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * SyncronisedShopStatusRegistry
  6. *
  7. * @ORM\Table(name="ps_syncronised_shop_status_registry")
  8. *
  9. * @ORM\Entity(repositoryClass="App\Repository\System\SynchronisedShopStatusRegistryRepository")
  10. */
  11. class SynchronisedShopStatusRegistry
  12. {
  13. /**
  14. * @var int
  15. *
  16. * @ORM\Id
  17. *
  18. * @ORM\GeneratedValue(strategy="AUTO")
  19. *
  20. * @ORM\Column(type="integer", name="id_syncronised_shop_status_registry",length=10)
  21. */
  22. private $id;
  23. /**
  24. * @var SynchronisedShopConfiguration
  25. *
  26. * @ORM\ManyToOne(targetEntity="App\Entity\System\SynchronisedShopConfiguration")
  27. *
  28. * @ORM\JoinColumn(name="id_sincronate_shop_configuration", referencedColumnName="id_sincronate_shop_configuration")
  29. */
  30. private $synchronisedShopConfiguration;
  31. /**
  32. * @var SynchronisedShopStatus
  33. *
  34. * @ORM\ManyToOne(targetEntity="App\Entity\System\SynchronisedShopStatus")
  35. *
  36. * @ORM\JoinColumn(name="id_sincronate_shop_status", referencedColumnName="id_sincronate_shop_status")
  37. */
  38. private $synchronisedShopStatus;
  39. /**
  40. * @var \DateTime|null
  41. *
  42. * @ORM\Column(type="datetime", nullable=true)
  43. */
  44. private $dateAdd;
  45. /**
  46. * @var string|null
  47. *
  48. * @ORM\Column(type="text", nullable=true)
  49. */
  50. private $errors;
  51. /**
  52. * @var int|null
  53. *
  54. * @ORM\Column(type="integer", nullable=true)
  55. */
  56. private $employee;
  57. /**
  58. * @return int
  59. */
  60. public function getId(): int
  61. {
  62. return $this->id;
  63. }
  64. /**
  65. * @param int $id
  66. *
  67. * @return SynchronisedShopStatusRegistry
  68. */
  69. public function setId(int $id): SynchronisedShopStatusRegistry
  70. {
  71. $this->id = $id;
  72. return $this;
  73. }
  74. /**
  75. * @return SynchronisedShopConfiguration
  76. */
  77. public function getSynchronisedShopConfiguration(): SynchronisedShopConfiguration
  78. {
  79. return $this->synchronisedShopConfiguration;
  80. }
  81. /**
  82. * @param SynchronisedShopConfiguration $synchronisedShopConfiguration
  83. *
  84. * @return SynchronisedShopStatusRegistry
  85. */
  86. public function setSynchronisedShopConfiguration(SynchronisedShopConfiguration $synchronisedShopConfiguration): SynchronisedShopStatusRegistry
  87. {
  88. $this->synchronisedShopConfiguration = $synchronisedShopConfiguration;
  89. return $this;
  90. }
  91. /**
  92. * @return SynchronisedShopStatus
  93. */
  94. public function getSynchronisedShopStatus(): SynchronisedShopStatus
  95. {
  96. return $this->synchronisedShopStatus;
  97. }
  98. /**
  99. * @param SynchronisedShopStatus $synchronisedShopStatus
  100. *
  101. * @return SynchronisedShopStatusRegistry
  102. */
  103. public function setSynchronisedShopStatus(SynchronisedShopStatus $synchronisedShopStatus): SynchronisedShopStatusRegistry
  104. {
  105. $this->synchronisedShopStatus = $synchronisedShopStatus;
  106. return $this;
  107. }
  108. /**
  109. * @return \DateTime|null
  110. */
  111. public function getDateAdd(): ?\DateTime
  112. {
  113. return $this->dateAdd;
  114. }
  115. /**
  116. * @param \DateTime|null $dateAdd
  117. *
  118. * @return SynchronisedShopStatusRegistry
  119. */
  120. public function setDateAdd(?\DateTime $dateAdd): SynchronisedShopStatusRegistry
  121. {
  122. $this->dateAdd = $dateAdd;
  123. return $this;
  124. }
  125. /**
  126. * @return string|null
  127. */
  128. public function getErrors(): ?string
  129. {
  130. return $this->errors;
  131. }
  132. /**
  133. * @param string|null $errors
  134. *
  135. * @return SynchronisedShopStatusRegistry
  136. */
  137. public function setErrors(?string $errors): SynchronisedShopStatusRegistry
  138. {
  139. $this->errors = $errors;
  140. return $this;
  141. }
  142. /**
  143. * @return int|null
  144. */
  145. public function getEmployee(): ?int
  146. {
  147. return $this->employee;
  148. }
  149. /**
  150. * @param int|null $employee
  151. *
  152. * @return SynchronisedShopStatusRegistry
  153. */
  154. public function setEmployee(?int $employee): SynchronisedShopStatusRegistry
  155. {
  156. $this->employee = $employee;
  157. return $this;
  158. }
  159. }