<?php
namespace App\Entity\ExternalPartner\ExternalJobPostingCrawler;
use DateTime;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*
* @ORM\Table(
* name="crawler_navigation_parser_result_request_infos"
* )
*/
class NavigationParserResultRequestInfo
{
/**
* @ORM\GeneratedValue(strategy="CUSTOM")
*
* @ORM\CustomIdGenerator(class="App\Utility\DatabaseIdGenerator")
*
* @ORM\Column(name="id", type="guid")
*
* @ORM\Id
*/
private string $id;
public function getId(): int
{
return $this->id;
}
/**
* @ORM\Column(name="received_at", type="datetime", nullable=false)
*/
private DateTime $receivedAt;
public function getReceivedAt(): DateTime
{
return $this->receivedAt;
}
public function setReceivedAt(DateTime $receivedAt): void
{
$this->receivedAt = $receivedAt;
}
/**
* @ORM\Column(name="handling_was_successful", type="boolean")
*/
private bool $handlingWasSuccessful;
public function getHandlingWasSuccessful(): bool
{
return $this->handlingWasSuccessful;
}
public function setHandlingWasSuccessful(bool $handlingWasSuccessful): void
{
$this->handlingWasSuccessful = $handlingWasSuccessful;
}
/**
* @ORM\Column(name="request_body", type="text", length=65536, nullable=false)
*/
private string $requestBody;
public function getRequestBody(): string
{
return $this->requestBody;
}
public function setRequestBody(string $requestBody): void
{
$this->requestBody = $requestBody;
}
/**
* @ORM\Column(name="handling_error_message", type="text", length=8192, nullable=true)
*/
private ?string $handlingErrorMessage;
public function getHandlingErrorMessage(): ?string
{
return $this->handlingErrorMessage;
}
public function setHandlingErrorMessage(?string $handlingErrorMessage): void
{
$this->handlingErrorMessage = $handlingErrorMessage;
}
}