src/App/Entity/ExternalPartner/ExternalJobPostingCrawler/NavigationParserResultRequestInfo.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Entity\ExternalPartner\ExternalJobPostingCrawler;
  3. use DateTime;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity
  7. *
  8. * @ORM\Table(
  9. * name="crawler_navigation_parser_result_request_infos"
  10. * )
  11. */
  12. class NavigationParserResultRequestInfo
  13. {
  14. /**
  15. * @ORM\GeneratedValue(strategy="CUSTOM")
  16. *
  17. * @ORM\CustomIdGenerator(class="App\Utility\DatabaseIdGenerator")
  18. *
  19. * @ORM\Column(name="id", type="guid")
  20. *
  21. * @ORM\Id
  22. */
  23. private string $id;
  24. public function getId(): int
  25. {
  26. return $this->id;
  27. }
  28. /**
  29. * @ORM\Column(name="received_at", type="datetime", nullable=false)
  30. */
  31. private DateTime $receivedAt;
  32. public function getReceivedAt(): DateTime
  33. {
  34. return $this->receivedAt;
  35. }
  36. public function setReceivedAt(DateTime $receivedAt): void
  37. {
  38. $this->receivedAt = $receivedAt;
  39. }
  40. /**
  41. * @ORM\Column(name="handling_was_successful", type="boolean")
  42. */
  43. private bool $handlingWasSuccessful;
  44. public function getHandlingWasSuccessful(): bool
  45. {
  46. return $this->handlingWasSuccessful;
  47. }
  48. public function setHandlingWasSuccessful(bool $handlingWasSuccessful): void
  49. {
  50. $this->handlingWasSuccessful = $handlingWasSuccessful;
  51. }
  52. /**
  53. * @ORM\Column(name="request_body", type="text", length=65536, nullable=false)
  54. */
  55. private string $requestBody;
  56. public function getRequestBody(): string
  57. {
  58. return $this->requestBody;
  59. }
  60. public function setRequestBody(string $requestBody): void
  61. {
  62. $this->requestBody = $requestBody;
  63. }
  64. /**
  65. * @ORM\Column(name="handling_error_message", type="text", length=8192, nullable=true)
  66. */
  67. private ?string $handlingErrorMessage;
  68. public function getHandlingErrorMessage(): ?string
  69. {
  70. return $this->handlingErrorMessage;
  71. }
  72. public function setHandlingErrorMessage(?string $handlingErrorMessage): void
  73. {
  74. $this->handlingErrorMessage = $handlingErrorMessage;
  75. }
  76. }