src/Entity/LogHistoryRequest.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use ApiPlatform\Metadata\ApiResource;
  4. use App\Repository\LogHistoryRequestRepository;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassLogHistoryRequestRepository::class)]
  8. #[ApiResource]
  9. class LogHistoryRequest
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $method null;
  17.     #[ORM\Column(nullabletrue)]
  18.     private ?array $request null;
  19.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  20.     private ?\DateTimeInterface $date null;
  21.     #[ORM\Column(length100nullabletrue)]
  22.     private ?string $status null;
  23.     #[ORM\Column(nullabletrue)]
  24.     private ?array $responseAnswer null;
  25.     public function getId(): ?int
  26.     {
  27.         return $this->id;
  28.     }
  29.     public function getMethod(): ?string
  30.     {
  31.         return $this->method;
  32.     }
  33.     public function setMethod(?string $method): static
  34.     {
  35.         $this->method $method;
  36.         return $this;
  37.     }
  38.     public function getRequest(): ?array
  39.     {
  40.         return $this->request;
  41.     }
  42.     public function setRequest(?array $request): static
  43.     {
  44.         $this->request $request;
  45.         return $this;
  46.     }
  47.     public function getDate(): ?\DateTimeInterface
  48.     {
  49.         return $this->date;
  50.     }
  51.     public function setDate(?\DateTimeInterface $date): static
  52.     {
  53.         $this->date $date;
  54.         return $this;
  55.     }
  56.     public function getStatus(): ?string
  57.     {
  58.         return $this->status;
  59.     }
  60.     public function setStatus(?string $status): static
  61.     {
  62.         $this->status $status;
  63.         return $this;
  64.     }
  65.     public function getResponseAnswer(): ?array
  66.     {
  67.         return $this->responseAnswer;
  68.     }
  69.     public function setResponseAnswer(?array $responseAnswer): static
  70.     {
  71.         $this->responseAnswer $responseAnswer;
  72.         return $this;
  73.     }
  74. }