src/Entity/System/ViesValidationLog.php line 17

Open in your IDE?
  1. <?php
  2. namespace App\Entity\System;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Class ViesValidationLog
  6.  *
  7.  * @ORM\Table(name="ps_vies_log_erp", indexes={
  8.  *
  9.  *     @ORM\Index(name="date_create", columns={"date_create"})
  10.  * })
  11.  *
  12.  * @ORM\Entity(repositoryClass="App\Repository\System\ViesValidationLogRepository")
  13.  */
  14. class ViesValidationLog
  15. {
  16.     /**
  17.      * @var int
  18.      *
  19.      * @ORM\Column(name="id_vies_log_erp", type="integer")
  20.      *
  21.      * @ORM\Id
  22.      *
  23.      * @ORM\GeneratedValue(strategy="AUTO")
  24.      */
  25.     private $id;
  26.     /**
  27.      * @var Customer
  28.      *
  29.      * @ORM\ManyToOne(targetEntity="App\Entity\System\Customer")
  30.      *
  31.      * @ORM\JoinColumn(referencedColumnName="id_customer", name="id_customer")
  32.      */
  33.     private $customer;
  34.     /**
  35.      * @var \DateTime
  36.      *
  37.      * @ORM\Column(type="datetime", name="date_create")
  38.      */
  39.     private $dateCreate;
  40.     /**
  41.      * @var bool
  42.      *
  43.      * @ORM\Column(type="boolean", nullable=true, name="erp_response")
  44.      */
  45.     private $result;
  46.     /**
  47.      * @var string
  48.      *
  49.      * @ORM\Column(type="string", length=30, name="vat_number")
  50.      */
  51.     private $vatNumber;
  52.     /**
  53.      * @var string
  54.      *
  55.      * @ORM\Column(type="string", name="request", nullable=true)
  56.      */
  57.     private $request;
  58.     /**
  59.      * @var string
  60.      *
  61.      * @ORM\Column(type="text", name="response", nullable=true)
  62.      */
  63.     private $response;
  64.     /**
  65.      * @return int
  66.      */
  67.     public function getId(): int
  68.     {
  69.         return $this->id;
  70.     }
  71.     /**
  72.      * @return Customer
  73.      */
  74.     public function getCustomer(): Customer
  75.     {
  76.         return $this->customer;
  77.     }
  78.     /**
  79.      * @param Customer $customer
  80.      */
  81.     public function setCustomer(Customer $customer): void
  82.     {
  83.         $this->customer $customer;
  84.     }
  85.     /**
  86.      * @return \DateTime
  87.      */
  88.     public function getDateCreate(): \DateTime
  89.     {
  90.         return $this->dateCreate;
  91.     }
  92.     /**
  93.      * @param \DateTime $dateCreate
  94.      */
  95.     public function setDateCreate(\DateTime $dateCreate): void
  96.     {
  97.         $this->dateCreate $dateCreate;
  98.     }
  99.     /**
  100.      * @return bool
  101.      */
  102.     public function isResult(): bool
  103.     {
  104.         return $this->result;
  105.     }
  106.     /**
  107.      * @param bool $result
  108.      */
  109.     public function setResult(bool $result): void
  110.     {
  111.         $this->result $result;
  112.     }
  113.     /**
  114.      * @return string
  115.      */
  116.     public function getVatNumber(): string
  117.     {
  118.         return $this->vatNumber;
  119.     }
  120.     /**
  121.      * @param string $vatNumber
  122.      */
  123.     public function setVatNumber(string $vatNumber): void
  124.     {
  125.         $this->vatNumber $vatNumber;
  126.     }
  127.     /**
  128.      * @return string
  129.      */
  130.     public function getRequest(): string
  131.     {
  132.         return $this->request;
  133.     }
  134.     /**
  135.      * @param string $request
  136.      */
  137.     public function setRequest(string $request): void
  138.     {
  139.         $this->request $request;
  140.     }
  141.     /**
  142.      * @return string
  143.      */
  144.     public function getResponse(): ?string
  145.     {
  146.         return $this->response;
  147.     }
  148.     /**
  149.      * @param string $response
  150.      */
  151.     public function setResponse(string $response): void
  152.     {
  153.         $this->response $response;
  154.     }
  155. }