<?phpnamespace App\Entity;use App\Repository\EstrazioniRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: EstrazioniRepository::class)]class Estrazioni{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $data_estrazione = null; #[ORM\ManyToOne(inversedBy: 'estrazionis')] #[ORM\JoinColumn(nullable: false)] private ?Users $user = null; #[ORM\Column(length: 255)] private ?string $path = null; #[ORM\ManyToOne(inversedBy: 'estrazionis')] #[ORM\JoinColumn(nullable: false)] private ?UsersAmbienti $ambiente = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $date_from = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $date_to = null; public function getId(): ?int { return $this->id; } public function getDataEstrazione(): ?\DateTimeInterface { return $this->data_estrazione; } public function setDataEstrazione(\DateTimeInterface $data_estrazione): static { $this->data_estrazione = $data_estrazione; return $this; } public function getUser(): ?Users { return $this->user; } public function setUser(?Users $user): static { $this->user = $user; return $this; } public function getPath(): ?string { return $this->path; } public function setPath(string $path): static { $this->path = $path; return $this; } public function getAmbiente(): ?UsersAmbienti { return $this->ambiente; } public function setAmbiente(?UsersAmbienti $ambiente): static { $this->ambiente = $ambiente; return $this; } public function getDateFrom(): ?\DateTimeInterface { return $this->date_from; } public function setDateFrom(\DateTimeInterface $date_from): static { $this->date_from = $date_from; return $this; } public function getDateTo(): ?\DateTimeInterface { return $this->date_to; } public function setDateTo(\DateTimeInterface $date_to): static { $this->date_to = $date_to; return $this; }}