<?phpnamespace App\Entity\Gos;use App\Repository\Gos\FoLogRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=FoLogRepository::class) */class FoLog{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="datetime") */ private $createdAt; /** * @ORM\ManyToOne(targetEntity=Orders::class, inversedBy="foLogs") * @ORM\JoinColumn(nullable=false) */ private $orders; /** * @ORM\ManyToOne(targetEntity=User::class, inversedBy="foLogs") * @ORM\JoinColumn(nullable=false) */ private $user; /** * @ORM\Column(type="string", length=36) */ private $GUID; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $type; public function getId(): ?int { return $this->id; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(\DateTimeInterface $createdAt): self { $this->createdAt = $createdAt; return $this; } public function getOrders(): ?Orders { return $this->orders; } public function setOrders(?Orders $orders): self { $this->orders = $orders; return $this; } public function getUser(): ?User { return $this->user; } public function setUser(?User $user): self { $this->user = $user; return $this; } public function getGUID(): ?string { return $this->GUID; } public function setGUID(string $GUID): self { $this->GUID = $GUID; return $this; } public function getType(): ?string { return $this->type; } public function setType(?string $type): self { $this->type = $type; return $this; }}