src/Entity/Classificacao.php line 11
<?phpnamespace App\Entity;use App\Repository\ClassificacaoRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ClassificacaoRepository::class)]class Classificacao{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255)]private ?string $nome = null;#[ORM\Column(length: 255, nullable: true)]private ?string $extraFields = null;#[ORM\Column(length: 255, nullable: true)]private ?string $fase_corrente = null;#[ORM\Column(length: 255, nullable: true)]private ?string $fase_intermediaria = null;#[ORM\Column(length: 255, nullable: true)]private ?string $destinacao_final = null;#[ORM\Column(length: 255, nullable: true)]private ?string $observacoes = null;#[ORM\ManyToOne(inversedBy: 'classificacaos')]private ?Cliente $cliente = null;#[ORM\OneToMany(mappedBy: 'classificacao', targetEntity: Documento::class)]private Collection $documentos;public function __construct(){$this->documentos = new ArrayCollection();}public function getId(): ?int{return $this->id;}public function getNome(): ?string{return $this->nome;}public function setNome(string $nome): static{$this->nome = $nome;return $this;}public function getExtraFields(): ?string{return $this->extraFields;}public function setExtraFields(?string $extraFields): static{$this->extraFields = $extraFields;return $this;}public function getFaseCorrente(): ?string{return $this->fase_corrente;}public function setFaseCorrente(?string $fase_corrente): static{$this->fase_corrente = $fase_corrente;return $this;}public function getFaseIntermediaria(): ?string{return $this->fase_intermediaria;}public function setFaseIntermediaria(?string $fase_intermediaria): static{$this->fase_intermediaria = $fase_intermediaria;return $this;}public function getDestinacaoFinal(): ?string{return $this->destinacao_final;}public function setDestinacaoFinal(?string $destinacao_final): static{$this->destinacao_final = $destinacao_final;return $this;}public function getObservacoes(): ?string{return $this->observacoes;}public function setObservacoes(?string $observacoes): static{$this->observacoes = $observacoes;return $this;}public function getCliente(): ?Cliente{return $this->cliente;}public function setCliente(?Cliente $cliente): static{$this->cliente = $cliente;return $this;}/*** @return Collection<int, Documento>*/public function getDocumentos(): Collection{return $this->documentos;}public function addDocumento(Documento $documento): static{if (!$this->documentos->contains($documento)) {$this->documentos->add($documento);$documento->setClassificacao($this);}return $this;}public function removeDocumento(Documento $documento): static{if ($this->documentos->removeElement($documento)) {// set the owning side to null (unless already changed)if ($documento->getClassificacao() === $this) {$documento->setClassificacao(null);}}return $this;}}