src/Entity/DnsitForm.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * DnsitForm
  6.  *
  7.  * @ORM\Table(name="dnsit_form")
  8.  * @ORM\Entity(repositoryClass="App\Repository\DnsitFormRepository")
  9.  */
  10. class DnsitForm
  11. {
  12.     /**
  13.      * @var string|null
  14.      *
  15.      * @ORM\Column(name="dnsit_name", type="string", length=255, nullable=true)
  16.      */
  17.     private $name;
  18.     /**
  19.      * @var string|null
  20.      *
  21.      * @ORM\Column(name="dnsit_form", type="text", length=255, nullable=true)
  22.      */
  23.     private $form;
  24.     /**
  25.      * @var string|null
  26.      *
  27.      * @ORM\Column(name="entity", type="string", nullable=true)
  28.      */
  29.     private $entity;
  30.     /**
  31.      * @var bool|null
  32.      *
  33.      * @ORM\Column(name="is_default", type="boolean", nullable=true)
  34.      */
  35.     private $isDefault;
  36.     /**
  37.      * @var string|null
  38.      *
  39.      * @ORM\Column(name="params", type="text", nullable=true)
  40.      */
  41.     private $params;
  42.     /**
  43.      * @var \DateTime|null
  44.      *
  45.      * @ORM\Column(name="created_at", type="datetime", nullable=true)
  46.      */
  47.     private $createdAt;
  48.     /**
  49.      * @var int|null
  50.      *
  51.      * @ORM\Column(name="created_by", type="bigint", nullable=true)
  52.      */
  53.     private $createdBy;
  54.     /**
  55.      * @var \DateTime|null
  56.      *
  57.      * @ORM\Column(name="updated_at", type="datetime", nullable=true)
  58.      */
  59.     private $updatedAt;
  60.     /**
  61.      * @var int|null
  62.      *
  63.      * @ORM\Column(name="updated_by", type="bigint", nullable=true)
  64.      */
  65.     private $updatedBy;
  66.     /**
  67.      * @var int
  68.      *
  69.      * @ORM\Column(name="id", type="bigint")
  70.      * @ORM\Id
  71.      * @ORM\GeneratedValue(strategy="IDENTITY")
  72.      */
  73.     private $id;
  74.     /**
  75.      * @var \App\Entity\DnsitTranslateCategory
  76.      *
  77.      * @ORM\ManyToOne(targetEntity="App\Entity\DnsitTranslateCategory")
  78.      * @ORM\JoinColumns({
  79.      *   @ORM\JoinColumn(name="translate_id", referencedColumnName="id")
  80.      * })
  81.      */
  82.     private $translate;
  83.     public function getName(): ?string
  84.     {
  85.         return $this->name;
  86.     }
  87.     public function setName(?string $name): self
  88.     {
  89.         $this->name $name;
  90.         return $this;
  91.     }
  92.     public function getForm(): ?string
  93.     {
  94.         return $this->form;
  95.     }
  96.     public function setForm(?string $form): self
  97.     {
  98.         $this->form $form;
  99.         return $this;
  100.     }
  101.     public function getEntity(): ?string
  102.     {
  103.         return $this->entity;
  104.     }
  105.     public function setEntity(?string $entity): self
  106.     {
  107.         $this->entity $entity;
  108.         return $this;
  109.     }
  110.     public function getIsDefault(): ?bool
  111.     {
  112.         return $this->isDefault;
  113.     }
  114.     public function setIsDefault(?bool $isDefault): self
  115.     {
  116.         $this->isDefault $isDefault;
  117.         return $this;
  118.     }
  119.     public function getParams(): ?string
  120.     {
  121.         return $this->params;
  122.     }
  123.     public function setParams(?string $params): self
  124.     {
  125.         $this->params $params;
  126.         return $this;
  127.     }
  128.     public function getCreatedAt(): ?\DateTimeInterface
  129.     {
  130.         return $this->createdAt;
  131.     }
  132.     public function setCreatedAt(?\DateTimeInterface $createdAt): self
  133.     {
  134.         $this->createdAt $createdAt;
  135.         return $this;
  136.     }
  137.     public function getCreatedBy(): ?int
  138.     {
  139.         return $this->createdBy;
  140.     }
  141.     public function setCreatedBy(?int $createdBy): self
  142.     {
  143.         $this->createdBy $createdBy;
  144.         return $this;
  145.     }
  146.     public function getUpdatedAt(): ?\DateTimeInterface
  147.     {
  148.         return $this->updatedAt;
  149.     }
  150.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  151.     {
  152.         $this->updatedAt $updatedAt;
  153.         return $this;
  154.     }
  155.     public function getUpdatedBy(): ?int
  156.     {
  157.         return $this->updatedBy;
  158.     }
  159.     public function setUpdatedBy(?int $updatedBy): self
  160.     {
  161.         $this->updatedBy $updatedBy;
  162.         return $this;
  163.     }
  164.     public function getId(): ?int
  165.     {
  166.         return $this->id;
  167.     }
  168.     public function getTranslate(): ?DnsitTranslateCategory
  169.     {
  170.         return $this->translate;
  171.     }
  172.     public function setTranslate(?DnsitTranslateCategory $translate): self
  173.     {
  174.         $this->translate $translate;
  175.         return $this;
  176.     }
  177. }