<?phpnamespace App\Entity;use App\Repository\GHInduccionRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Table(name: 'gh_induccion')]#[ORM\Entity(repositoryClass: GHInduccionRepository::class)]class GHInduccion{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\ManyToOne(inversedBy: 'induccion')] private ?TerPersona $persona = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable:true)] private ?\DateTimeInterface $fecha = null; #[ORM\Column(length: 255, nullable: true)] private ?string $firma = null; #[ORM\Column(length: 255, nullable:true)] private ?string $tema = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $descripcion = null;// #[ORM\ManyToOne(targetEntity: ParInduccion::class)]// private ?ParInduccion $parInduccion = null; #[ORM\Column(nullable: true)] private ?float $calificacion = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $createAt = null; #[ORM\Column(length: 255)] private ?string $createUser = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $updateAt = null; #[ORM\Column(length: 255)] private ?string $updateUser = null; #[ORM\ManyToOne(inversedBy: 'induccion')] private ?ParEstado $estado = null; #[ORM\Column(length: 255, nullable: true)] private ?string $soporte = null; #[ORM\OneToMany(mappedBy: 'induccion', targetEntity: GHInduccionProceso::class)] private Collection $induccionProcesos; #[ORM\Column(nullable: true)] private ?int $calificar = null; public function __construct() { $this->induccionProcesos = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getPersona(): ?TerPersona { return $this->persona; } public function setPersona(?TerPersona $persona): static { $this->persona = $persona; return $this; } public function getFecha(): ?\DateTimeInterface { return $this->fecha; } public function setFecha(\DateTimeInterface $fecha): static { $this->fecha = $fecha; return $this; } public function getFirma(): ?string { return $this->firma; } public function setFirma(?string $firma): static { $this->firma = $firma; return $this; } public function getTema(): ?string { return $this->tema; } public function setTema(string $tema): static { $this->tema = $tema; return $this; } public function getDescripcion(): ?string { return $this->descripcion; } public function setDescripcion(?string $descripcion): static { $this->descripcion = $descripcion; return $this; }// public function getParInduccion(): ?ParInduccion// {// return $this->parInduccion;// }//// public function setParInduccion(?ParInduccion $parInduccion): self// {// $this->parInduccion = $parInduccion;// return $this;// } public function getCalificacion(): ?float { return $this->calificacion; } public function setCalificacion(?float $calificacion): static { $this->calificacion = $calificacion; return $this; } public function getCreateAt(): ?\DateTimeInterface { return $this->createAt; } public function setCreateAt(\DateTimeInterface $createAt): static { $this->createAt = $createAt; return $this; } public function getCreateUser(): ?string { return $this->createUser; } public function setCreateUser(string $createUser): static { $this->createUser = $createUser; return $this; } public function getUpdateAt(): ?\DateTimeInterface { return $this->updateAt; } public function setUpdateAt(\DateTimeInterface $updateAt): static { $this->updateAt = $updateAt; return $this; } public function getUpdateUser(): ?string { return $this->updateUser; } public function setUpdateUser(string $updateUser): static { $this->updateUser = $updateUser; return $this; } public function getEstado(): ?ParEstado { return $this->estado; } public function setEstado(?ParEstado $estado): static { $this->estado = $estado; return $this; } public function getSoporte(): ?string { return $this->soporte; } public function setSoporte(?string $soporte): static { $this->soporte = $soporte; return $this; } /** * @return Collection<int, GHInduccionProceso> */ public function getInduccionProcesos(): Collection { return $this->induccionProcesos; } public function addInduccionProceso(GHInduccionProceso $induccionProceso): static { if (!$this->induccionProcesos->contains($induccionProceso)) { $this->induccionProcesos->add($induccionProceso); $induccionProceso->setInduccion($this); } return $this; } public function removeInduccionProceso(GHInduccionProceso $induccionProceso): static { if ($this->induccionProcesos->removeElement($induccionProceso)) { // set the owning side to null (unless already changed) if ($induccionProceso->getInduccion() === $this) { $induccionProceso->setInduccion(null); } } return $this; } public function getCalificar(): ?int { return $this->calificar; } public function setCalificar(?int $calificar): static { $this->calificar = $calificar; return $this; }}