src/Entity/OfferteAllegati.php line 14
<?phpnamespace App\Entity;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;/*** OfferteAllegati** @ORM\Table(name="offerte_allegati")* @ORM\Entity(repositoryClass="App\Repository\OfferteAllegatiRepository")*/class OfferteAllegati{/*** @var int** @ORM\Column(name="id", type="integer")* @ORM\Id* @ORM\GeneratedValue(strategy="AUTO")*/private $id;/*** @var string** @ORM\Column(name="nome", type="string", length=255, nullable=true)*/private $nome;/*** @var string** @ORM\Column(name="identificativo", type="string", length=255)*/private $identificativo;/*** @var string** @ORM\Column(name="file", type="blob")*/private $file;/*** @var string** @ORM\Column(name="tipo_file", type="string", length=255)*/private $tipoFile;/*** @var \DateTime** @ORM\Column(name="data_caricamento", type="datetime")*/private $dataCaricamento;/*** @ORM\ManyToOne(targetEntity="User")* @ORM\JoinColumn(name="utente_id", referencedColumnName="id", onDelete="CASCADE")*/private $utente;/*** @ORM\ManyToOne(targetEntity="App\Entity\Offerte", inversedBy="allegati", cascade={"persist"})*/private $offerta;public function getId(): ?int{return $this->id;}public function setNome(?string $nome): static{$this->nome = $nome;return $this;}public function getNome(): ?string{return $this->nome;}public function setFile($file): static{$this->file = $file;return $this;}public function getFile(){return $this->file;}public function setTipoFile(string $tipoFile): static{$this->tipoFile = $tipoFile;return $this;}public function getTipoFile(): ?string{return $this->tipoFile;}public function setDataCaricamento(\DateTimeInterface $dataCaricamento): static{$this->dataCaricamento = $dataCaricamento;return $this;}public function getDataCaricamento(): ?\DateTimeInterface{return $this->dataCaricamento;}public function setUtente(?User $utente): static{$this->utente = $utente;return $this;}public function getUtente(): ?User{return $this->utente;}public function setOfferta(?Offerte $offerta): static{$this->offerta = $offerta;return $this;}public function getOfferta(): ?Offerte{return $this->offerta;}public function setIdentificativo(string $identificativo): static{$this->identificativo = $identificativo;return $this;}public function getIdentificativo(): ?string{return $this->identificativo;}}