<?phpnamespace App\Domain\Entity;use App\Domain\Interfaces\MetadataInterface;use App\Shared\Domain\ApplicationCore\Interfaces\EntityInterface;use DateTimeInterface;use Doctrine\DBAL\Types\Types;use Symfony\Component\Uid\Uuid;class ExpedienteCabecera implements EntityInterface, MetadataInterface{ private ?Uuid $id = null; private ?string $key = null; private ?string $nombre = null; private ?string $descripcion = null; private ?string $schema = null; private ?string $form = null; private ?string $css = null; private ?string $js = null; private ?string $translations = null; private ?string $translationDomain = null; private ?DateTimeInterface $createdAt = null; private ?DateTimeInterface $updatedAt = null; private ?DateTimeInterface $deletedAt = null; private ?Expediente $expediente = null; private ?MetadataExpedienteCabecera $metadata = null; public function getKey(): ?string { return $this->key; } public function setKey(?string $key): static { $this->key = $key; return $this; } public function getNombre(): ?string { return $this->nombre; } public function setNombre(?string $nombre): static { $this->nombre = $nombre; return $this; } public function getDescripcion(): ?string { return $this->descripcion; } public function setDescripcion(?string $descripcion): static { $this->descripcion = $descripcion; return $this; } public function getSchema(): ?string { return $this->schema; } public function setSchema(?string $schema): static { $this->schema = $schema; return $this; } public function getForm(): ?string { return $this->form; } public function setForm(?string $form): static { $this->form = $form; return $this; } public function getCss(): ?string { return $this->css; } public function setCss(?string $css): static { $this->css = $css; return $this; } public function getJs(): ?string { return $this->js; } public function setJs(?string $js): static { $this->js = $js; return $this; } public function getTranslations(): ?string { return $this->translations; } public function setTranslations(?string $translations): static { $this->translations = $translations; return $this; } public function getTranslationDomain(): ?string { return $this->translationDomain; } public function setTranslationDomain(?string $translationDomain): static { $this->translationDomain = $translationDomain; return $this; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(\DateTimeInterface $createdAt): static { $this->createdAt = $createdAt; return $this; } public function getUpdatedAt(): ?\DateTimeInterface { return $this->updatedAt; } public function setUpdatedAt(\DateTimeInterface $updatedAt): static { $this->updatedAt = $updatedAt; return $this; } public function getDeletedAt(): ?\DateTimeInterface { return $this->deletedAt; } public function setDeletedAt(?\DateTimeInterface $deletedAt): static { $this->deletedAt = $deletedAt; return $this; } public function getId(): ?Uuid { return $this->id; } public function getExpediente(): ?Expediente { return $this->expediente; } public function setExpediente(?Expediente $expediente): static { // unset the owning side of the relation if necessary if ($expediente === null && $this->expediente !== null) { $this->expediente->setExpedienteCabecera(null); } // set the owning side of the relation if necessary if ($expediente !== null && $expediente->getExpedienteCabecera() !== $this) { $expediente->setExpedienteCabecera($this); } $this->expediente = $expediente; return $this; } public function getMetadata(): ?MetadataExpedienteCabecera { return $this->metadata; } public function setMetadata(?MetadataInterface $metadata): static { $this->metadata = $metadata; return $this; }}