src/Entity/GHRetiroCesantias.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GHRetiroCesantiasRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\DBAL\Types\Types;
  7. use Doctrine\ORM\Mapping as ORM;
  8. use phpDocumentor\Reflection\Types\Static_;
  9. #[ORM\Table(name'gh_retiro_cesantias')]
  10. #[ORM\Entity(repositoryClassGHRetiroCesantiasRepository::class)]
  11. class GHRetiroCesantias {
  12.     #[ORM\Id]
  13.     #[ORM\GeneratedValue]
  14.     #[ORM\Column]
  15.     private ?int $id null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $soporte null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $firma null;
  20.     #[ORM\ManyToOne(inversedBy'retiroCesantias')]
  21.     private ?ParBanco $banco null;
  22.     #[ORM\ManyToOne(inversedBy'retiroCesantias')]
  23.     private ?ParInversion $inversion null;
  24.     #[ORM\Column(length100)]
  25.     private ?string $tipoCuenta null;
  26.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  27.     private ?\DateTimeInterface $createAt null;
  28.     #[ORM\Column(length100)]
  29.     private ?string $createUser null;
  30.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  31.     private ?\DateTimeInterface $updateAt null;
  32.     #[ORM\Column(length100)]
  33.     private ?string $updateUser null;
  34.     #[ORM\ManyToOne(inversedBy'retiroCesantias')]
  35.     private ?ParEstado $estado null;
  36.     #[ORM\ManyToOne(inversedBy'retiroCesantias')]
  37.     private ?TerPersona $persona null;
  38.     #[ORM\ManyToOne(inversedBy'retiroCesantias')]
  39.     private ?ParFondoCesantias $fondoCesantias null;
  40.     #[ORM\OneToMany(mappedBy'retiroCesantias'targetEntityGHRetiroCesantiasSoporte::class)]
  41.     private Collection $retiroCesantiasSoporte;
  42.     #[ORM\OneToMany(mappedBy'retiroCesantiasAprobado'targetEntityGHRetiroCesantiasSoporte::class)]
  43.     private Collection $retiroCesantiasSoporteAprobado;
  44.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  45.     private ?string $observaciones null;
  46.     #[ORM\Column(typeTypes::STRINGnullabletrue)]
  47.     private ?string $numeroCuenta null;
  48.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  49.     private ?\DateTimeInterface $fechaSolicitud null;
  50.     #[ORM\Column(length255nullabletrue)]
  51.     private ?string $valorSolicitado null;
  52.     public function __construct()
  53.     {
  54.         $this->retiroCesantiasSoporte = new ArrayCollection();
  55.         $this->retiroCesantiasSoporteAprobado = new ArrayCollection();
  56.     }
  57.     public function getId(): ?int {
  58.         return $this->id;
  59.     }
  60.     public function getSoporte(): ?string {
  61.         return $this->soporte;
  62.     }
  63.     public function setSoporte(string $soporte): static {
  64.         $this->soporte $soporte;
  65.         return $this;
  66.     }
  67.     public function getFirma(): ?string {
  68.         return $this->firma;
  69.     }
  70.     public function setFirma(?string $firma): void {
  71.         $this->firma $firma;
  72.     }
  73.     public function getBanco(): ?ParBanco {
  74.         return $this->banco;
  75.     }
  76.     public function setBanco(?ParBanco $banco): static {
  77.         $this->banco $banco;
  78.         return $this;
  79.     }
  80.     public function getInversion(): ?ParInversion {
  81.         return $this->inversion;
  82.     }
  83.     public function setInversion(?ParInversion $inversion): static {
  84.         $this->inversion $inversion;
  85.         return $this;
  86.     }
  87.     public function getTipoCuenta(): ?string {
  88.         return $this->tipoCuenta;
  89.     }
  90.     public function setTipoCuenta(string $tipoCuenta): static {
  91.         $this->tipoCuenta $tipoCuenta;
  92.         return $this;
  93.     }
  94.     public function getCreateAt(): ?\DateTimeInterface {
  95.         return $this->createAt;
  96.     }
  97.     public function setCreateAt(\DateTimeInterface $createAt): static {
  98.         $this->createAt $createAt;
  99.         return $this;
  100.     }
  101.     public function getCreateUser(): ?string {
  102.         return $this->createUser;
  103.     }
  104.     public function setCreateUser(string $createUser): static {
  105.         $this->createUser $createUser;
  106.         return $this;
  107.     }
  108.     public function getUpdateAt(): ?\DateTimeInterface {
  109.         return $this->updateAt;
  110.     }
  111.     public function setUpdateAt(\DateTimeInterface $updateAt): static {
  112.         $this->updateAt $updateAt;
  113.         return $this;
  114.     }
  115.     public function getUpdateUser(): ?string {
  116.         return $this->updateUser;
  117.     }
  118.     public function setUpdateUser(string $updateUser): static {
  119.         $this->updateUser $updateUser;
  120.         return $this;
  121.     }
  122.     public function getEstado(): ?ParEstado {
  123.         return $this->estado;
  124.     }
  125.     public function setEstado(?ParEstado $estado): static {
  126.         $this->estado $estado;
  127.         return $this;
  128.     }
  129.     public function getPersona(): ?TerPersona {
  130.         return $this->persona;
  131.     }
  132.     public function setPersona(?TerPersona $persona): static {
  133.         $this->persona $persona;
  134.         return $this;
  135.     }
  136.     public function getFondoCesantias(): ?ParFondoCesantias {
  137.         return $this->fondoCesantias;
  138.     }
  139.     public function setFondoCesantias(?ParFondoCesantias $fondoCesantias): static {
  140.         $this->fondoCesantias $fondoCesantias;
  141.         return $this;
  142.     }
  143.     /**
  144.      * @return Collection<int, GHRetiroCesantiasSoporte>
  145.      */
  146.     public function getRetiroCesantiasSoporte(): Collection
  147.     {
  148.         return $this->retiroCesantiasSoporte;
  149.     }
  150.     public function addRetiroCesantiasSoporte(GHRetiroCesantiasSoporte $retiroCesantiasSoporte): static
  151.     {
  152.         if (!$this->retiroCesantiasSoporte->contains($retiroCesantiasSoporte)) {
  153.             $this->retiroCesantiasSoporte->add($retiroCesantiasSoporte);
  154.             $retiroCesantiasSoporte->setRetiroCesantias($this);
  155.         }
  156.         return $this;
  157.     }
  158.     public function removeRetiroCesantiasSoporte(GHRetiroCesantiasSoporte $retiroCesantiasSoporte): static
  159.     {
  160.         if ($this->retiroCesantiasSoporte->removeElement($retiroCesantiasSoporte)) {
  161.             // set the owning side to null (unless already changed)
  162.             if ($retiroCesantiasSoporte->getRetiroCesantias() === $this) {
  163.                 $retiroCesantiasSoporte->setRetiroCesantias(null);
  164.             }
  165.         }
  166.         return $this;
  167.     }
  168.     /**
  169.      * @return Collection
  170.      */
  171.     public function getRetiroCesantiasSoporteAprobado(): Collection
  172.     {
  173.         return $this->retiroCesantiasSoporteAprobado;
  174.     }
  175.     public function addRetiroCesantiasSoporteAprobado(GHRetiroCesantiasSoporte $retiroCesantiasSoporteAprobado): Static
  176.     {
  177.         if (!$this->retiroCesantiasSoporteAprobado->contains($retiroCesantiasSoporteAprobado)) {
  178.             $this->retiroCesantiasSoporteAprobado->add($retiroCesantiasSoporteAprobado);
  179.             $retiroCesantiasSoporteAprobado->setRetiroCesantias($this);
  180.         }
  181.         return $this;
  182.     }
  183.     public function removeRetiroCesantiasSoporteAprobado(GHRetiroCesantiasSoporte $retiroCesantiasSoporteAprobado): static
  184.     {
  185.         if ($this->retiroCesantiasSoporteAprobado->removeElement($retiroCesantiasSoporteAprobado)) {
  186.             // set the owning side to null (unless already changed)
  187.             if ($retiroCesantiasSoporteAprobado->getRetiroCesantiasAprobado() === $this) {
  188.                 $retiroCesantiasSoporteAprobado->setRetiroCesantiasAprobado(null);
  189.             }
  190.         }
  191.         return $this;
  192.     }
  193.     public function getObservaciones(): ?string
  194.     {
  195.         return $this->observaciones;
  196.     }
  197.     public function setObservaciones(?string $observaciones): static
  198.     {
  199.         $this->observaciones $observaciones;
  200.         return $this;
  201.     }
  202.     public function getNumeroCuenta(): ?string
  203.     {
  204.         return $this->numeroCuenta;
  205.     }
  206.     public function setNumeroCuenta(?string $numeroCuenta): static
  207.     {
  208.         $this->numeroCuenta $numeroCuenta;
  209.         return $this;
  210.     }
  211.     public function getFechaSolicitud(): ?\DateTimeInterface
  212.     {
  213.         return $this->fechaSolicitud;
  214.     }
  215.     public function setFechaSolicitud(?\DateTimeInterface $fechaSolicitud): static
  216.     {
  217.         $this->fechaSolicitud $fechaSolicitud;
  218.         return $this;
  219.     }
  220.     public function getValorSolicitado(): ?string
  221.     {
  222.         return $this->valorSolicitado;
  223.     }
  224.     public function setValorSolicitado(?string $valorSolicitado): static
  225.     {
  226.         $this->valorSolicitado $valorSolicitado;
  227.         return $this;
  228.     }
  229. }