src/Entity/FormValues.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FormValuesRepository;
  4. use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=FormValuesRepository::class)
  8.  * @Auditable()
  9.  */
  10. class FormValues
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\ManyToOne(targetEntity=Anchor::class)
  20.      */
  21.     private $anchor;
  22.     /**
  23.      * @ORM\Column(type="string", length=255, nullable=true)
  24.      */
  25.     private $objectId;
  26.     /**
  27.      * @ORM\Column(type="text", nullable=true)
  28.      */
  29.     private $value;
  30.     /**
  31.        * @ORM\ManyToOne(targetEntity=Folder::class, inversedBy="formValues")
  32.      */
  33.     private $folder;
  34.     /**
  35.      * @ORM\Column(type="integer", nullable=true)
  36.      */
  37.     private $status;
  38.     /**
  39.      * @ORM\Column(type="datetime", nullable=true)
  40.      */
  41.     private $dateCreate;
  42.     /**
  43.      * @ORM\Column(type="datetime", nullable=true)
  44.      */
  45.     private $dateUpdate;
  46.     /**
  47.      * @ORM\ManyToOne(targetEntity=Users::class)
  48.      */
  49.     private $userCreate;
  50.     /**
  51.      * @ORM\ManyToOne(targetEntity=Users::class)
  52.      */
  53.     private $userUpdate;
  54.     public function getId(): ?int
  55.     {
  56.         return $this->id;
  57.     }
  58.     public function getAnchor(): ?Anchor
  59.     {
  60.         return $this->anchor;
  61.     }
  62.     public function setAnchor(?Anchor $anchor): self
  63.     {
  64.         $this->anchor $anchor;
  65.         return $this;
  66.     }
  67.     public function getObjectId(): ?int
  68.     {
  69.         return $this->objectId;
  70.     }
  71.     public function setObjectId(?string $objectId): self
  72.     {
  73.         $this->objectId $objectId;
  74.         return $this;
  75.     }
  76.     public function getValue(): ?string
  77.     {
  78.         return $this->value;
  79.     }
  80.     public function setValue(?string $value): self
  81.     {
  82.         $this->value $value;
  83.         return $this;
  84.     }
  85.     public function getFolder(): ?Folder
  86.     {
  87.         return $this->folder;
  88.     }
  89.     public function setFolder(?Folder $folder): self
  90.     {
  91.         $this->folder $folder;
  92.         return $this;
  93.     }
  94.     public function getStatus(): ?int
  95.     {
  96.         return $this->status;
  97.     }
  98.     public function setStatus(?int $status): self
  99.     {
  100.         $this->status $status;
  101.         return $this;
  102.     }
  103.     public function getDateCreate(): ?\DateTimeInterface
  104.     {
  105.         return $this->dateCreate;
  106.     }
  107.     public function setDateCreate(?\DateTimeInterface $dateCreate): self
  108.     {
  109.         $this->dateCreate $dateCreate;
  110.         return $this;
  111.     }
  112.     public function getDateUpdate(): ?\DateTimeInterface
  113.     {
  114.         return $this->dateUpdate;
  115.     }
  116.     public function setDateUpdate(?\DateTimeInterface $dateUpdate): self
  117.     {
  118.         $this->dateUpdate $dateUpdate;
  119.         return $this;
  120.     }
  121.     public function getUserCreate(): ?Users
  122.     {
  123.         return $this->userCreate;
  124.     }
  125.     public function setUserCreate(?Users $userCreate): self
  126.     {
  127.         $this->userCreate $userCreate;
  128.         return $this;
  129.     }
  130.     public function getUserUpdate(): ?Users
  131.     {
  132.         return $this->userUpdate;
  133.     }
  134.     public function setUserUpdate(?Users $userUpdate): self
  135.     {
  136.         $this->userUpdate $userUpdate;
  137.         return $this;
  138.     }
  139. }