src/Entity/Gos/FoLog.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use App\Repository\Gos\FoLogRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=FoLogRepository::class)
  7.  */
  8. class FoLog
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="datetime")
  18.      */
  19.     private $createdAt;
  20.     /**
  21.      * @ORM\ManyToOne(targetEntity=Orders::class, inversedBy="foLogs")
  22.      * @ORM\JoinColumn(nullable=false)
  23.      */
  24.     private $orders;
  25.     /**
  26.      * @ORM\ManyToOne(targetEntity=User::class, inversedBy="foLogs")
  27.      * @ORM\JoinColumn(nullable=false)
  28.      */
  29.     private $user;
  30.     /**
  31.      * @ORM\Column(type="string", length=36)
  32.      */
  33.     private $GUID;
  34.     /**
  35.      * @ORM\Column(type="string", length=255, nullable=true)
  36.      */
  37.     private $type;
  38.     public function getId(): ?int
  39.     {
  40.         return $this->id;
  41.     }
  42.     public function getCreatedAt(): ?\DateTimeInterface
  43.     {
  44.         return $this->createdAt;
  45.     }
  46.     public function setCreatedAt(\DateTimeInterface $createdAt): self
  47.     {
  48.         $this->createdAt $createdAt;
  49.         return $this;
  50.     }
  51.     public function getOrders(): ?Orders
  52.     {
  53.         return $this->orders;
  54.     }
  55.     public function setOrders(?Orders $orders): self
  56.     {
  57.         $this->orders $orders;
  58.         return $this;
  59.     }
  60.     public function getUser(): ?User
  61.     {
  62.         return $this->user;
  63.     }
  64.     public function setUser(?User $user): self
  65.     {
  66.         $this->user $user;
  67.         return $this;
  68.     }
  69.     public function getGUID(): ?string
  70.     {
  71.         return $this->GUID;
  72.     }
  73.     public function setGUID(string $GUID): self
  74.     {
  75.         $this->GUID $GUID;
  76.         return $this;
  77.     }
  78.     public function getType(): ?string
  79.     {
  80.         return $this->type;
  81.     }
  82.     public function setType(?string $type): self
  83.     {
  84.         $this->type $type;
  85.         return $this;
  86.     }
  87. }