src/Entity/DnsitStoredRequestLine.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * DnsitStoredRequestLine
  6.  *
  7.  * @ORM\Table(name="dnsit_stored_request_line")
  8.  * @ORM\Entity(repositoryClass="App\Repository\DnsitStoredRequestLineRepository")
  9.  */
  10. class DnsitStoredRequestLine
  11. {
  12.     /**
  13.      * @var string
  14.      *
  15.      * @ORM\Column(name="tag", type="string", nullable=false)
  16.      */
  17.     private $tag;
  18.     /**
  19.      * @var string
  20.      *
  21.      * @ORM\Column(name="value", type="text", nullable=false)
  22.      */
  23.     private $value;
  24.     /**
  25.      * @var \DateTime|null
  26.      *
  27.      * @ORM\Column(name="created_at", type="datetime", nullable=true)
  28.      */
  29.     private $createdAt;
  30.     /**
  31.      * @var int|null
  32.      *
  33.      * @ORM\Column(name="created_by", type="bigint", nullable=true)
  34.      */
  35.     private $createdBy;
  36.     /**
  37.      * @var \DateTime|null
  38.      *
  39.      * @ORM\Column(name="updated_at", type="datetime", nullable=true)
  40.      */
  41.     private $updatedAt;
  42.     /**
  43.      * @var int|null
  44.      *
  45.      * @ORM\Column(name="updated_by", type="bigint", nullable=true)
  46.      */
  47.     private $updatedBy;
  48.     /**
  49.      * @var int
  50.      *
  51.      * @ORM\Column(name="id", type="bigint")
  52.      * @ORM\Id
  53.      * @ORM\GeneratedValue(strategy="IDENTITY")
  54.      */
  55.     private $id;
  56.     /**
  57.      * @var \App\Entity\DnsitStoredRequest
  58.      *
  59.      * @ORM\ManyToOne(targetEntity="App\Entity\DnsitStoredRequest", inversedBy="lines")
  60.      * @ORM\JoinColumns({
  61.      *   @ORM\JoinColumn(name="stored_request_id", referencedColumnName="id")
  62.      * })
  63.      */
  64.     private $storedRequest;
  65.     public function getTag(): ?string
  66.     {
  67.         return $this->tag;
  68.     }
  69.     public function setTag(string $tag): self
  70.     {
  71.         $this->tag $tag;
  72.         return $this;
  73.     }
  74.     public function getValue(): ?string
  75.     {
  76.         return $this->value;
  77.     }
  78.     public function setValue(string $value): self
  79.     {
  80.         $this->value $value;
  81.         return $this;
  82.     }
  83.     public function getCreatedAt(): ?\DateTimeInterface
  84.     {
  85.         return $this->createdAt;
  86.     }
  87.     public function setCreatedAt(?\DateTimeInterface $createdAt): self
  88.     {
  89.         $this->createdAt $createdAt;
  90.         return $this;
  91.     }
  92.     public function getCreatedBy(): ?int
  93.     {
  94.         return $this->createdBy;
  95.     }
  96.     public function setCreatedBy(?int $createdBy): self
  97.     {
  98.         $this->createdBy $createdBy;
  99.         return $this;
  100.     }
  101.     public function getUpdatedAt(): ?\DateTimeInterface
  102.     {
  103.         return $this->updatedAt;
  104.     }
  105.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  106.     {
  107.         $this->updatedAt $updatedAt;
  108.         return $this;
  109.     }
  110.     public function getUpdatedBy(): ?int
  111.     {
  112.         return $this->updatedBy;
  113.     }
  114.     public function setUpdatedBy(?int $updatedBy): self
  115.     {
  116.         $this->updatedBy $updatedBy;
  117.         return $this;
  118.     }
  119.     public function getId(): ?int
  120.     {
  121.         return $this->id;
  122.     }
  123.     public function getStoredRequest(): ?DnsitStoredRequest
  124.     {
  125.         return $this->storedRequest;
  126.     }
  127.     public function setStoredRequest(?DnsitStoredRequest $storedRequest): self
  128.     {
  129.         $this->storedRequest $storedRequest;
  130.         return $this;
  131.     }
  132. }