<?phpnamespace App\Domain\Entity;use DateTimeInterface;use Symfony\Component\Uid\Uuid;class Handler{ private ?string $key = null; private ?string $nombre = null; private ?DateTimeInterface $createdAt = null; private ?DateTimeInterface $updatedAt = null; private ?string $optionsSchema = null; private ?string $options = null; private ?string $condition = null; private ?int $prioridad = null; private ?Uuid $id = null; private $servicio; private $context; private $event; private $metadata; private $preExecute; private $postExecute; private ?DateTimeInterface $deletedAt = null; public function __toString(): string { return $this->getNombre()??$this->getKey()??''; } public function getServicio(): ?string { return $this->servicio; } public function setServicio(?string $servicio): static { $this->servicio = $servicio; return $this; } public function getKey(): ?string { return $this->key; } public function setKey(string $key): static { $this->key = $key; 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 getCondition(): ?string { return $this->condition; } public function setCondition(?string $condition): static { $this->condition = $condition; return $this; } public function getPrioridad(): ?int { return $this->prioridad; } public function setPrioridad(?int $prioridad): static { $this->prioridad = $prioridad; return $this; } public function getId(): ?Uuid { return $this->id; } public function getMetadata(): ?Metadata { return $this->metadata; } public function setMetadata(?Metadata $metadata): static { $this->metadata = $metadata; return $this; } public function getOptionsSchema(): ?string { return $this->optionsSchema; } public function setOptionsSchema(?string $optionsSchema): static { $this->optionsSchema = $optionsSchema; return $this; } public function getOptions(): ?string { return $this->options; } public function setOptions(?string $options): static { $this->options = $options; return $this; } public function getContext(): ?string { return $this->context; } public function setContext(?string $context): static { $this->context = $context; return $this; } public function getEvent(): ?string { return $this->event; } public function setEvent(?string $event): static { $this->event = $event; return $this; } public function getPreExecute(): ?string { return $this->preExecute; } public function setPreExecute(?string $preExecute): static { $this->preExecute = $preExecute; return $this; } public function getPostExecute(): ?string { return $this->postExecute; } public function setPostExecute(?string $postExecute): static { $this->postExecute = $postExecute; return $this; } public function getNombre(): ?string { return $this->nombre; } public function setNombre(?string $nombre): static { $this->nombre = $nombre; return $this; } public function getDeletedAt(): ?DateTimeInterface { return $this->deletedAt; } public function setDeletedAt(?DateTimeInterface $deletedAt): static { $this->deletedAt = $deletedAt; return $this; }}