<?php
namespace App\Entity\Common;
use App\Entity\Quote\QuoteService;
use App\Repository\Common\FileResourceRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=FileResourceRepository::class)
*/
class FileResource
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $name;
/**
* @ORM\Column(type="string", length=255)
*/
private $originalName;
/**
* @ORM\Column(type="datetime_immutable")
*/
private $updatedAt;
/**
* @ORM\ManyToOne(targetEntity=QuoteService::class, inversedBy="evidences")
*/
private $quoteService;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getOriginalName(): ?string
{
return $this->originalName;
}
public function setOriginalName(string $originalName): self
{
$this->originalName = $originalName;
return $this;
}
public function getUpdatedAt(): ?\DateTimeImmutable
{
return $this->updatedAt;
}
public function setUpdatedAt(\DateTimeImmutable $updatedAt): self
{
$this->updatedAt = $updatedAt;
return $this;
}
public function getQuoteService(): ?QuoteService
{
return $this->quoteService;
}
public function setQuoteService(?QuoteService $quoteService): self
{
$this->quoteService = $quoteService;
return $this;
}
}