src/Entity/GHSolicitudDotacion.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GHSolicitudDotacionRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Table(name'gh_solicitud_dotacion')]
  8. #[ORM\Entity(repositoryClassGHSolicitudDotacionRepository::class)]
  9. class GHSolicitudDotacion {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(length255nullabletrue)]
  15.     private ?string $foto null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $certificadoProcuraduria null;
  18.     #[ORM\ManyToOne(inversedBy'solicitudDotacion')]
  19.     private ?ParEstado $estado null;
  20.     #[ORM\ManyToOne(inversedBy'solicitudDotacion')]
  21.     private ?ParCentroCosto $centroCosto null;
  22.     #[ORM\ManyToOne(inversedBy'solicitudDotacion')]
  23.     private ?GHCandidato $candidato null;
  24.     #[ORM\ManyToOne(inversedBy'solicitudDotacion')]
  25.     private ?TerEmpresa $empresaFilial null;
  26.     #[ORM\ManyToOne(inversedBy'solicitudDotacion')]
  27.     private ?ParTipoDotacion $tipoDotacion null;
  28.     #[ORM\ManyToOne(inversedBy'solicitudDotacion')]
  29.     private ?ParTalla $talla null;
  30.     #[ORM\Column]
  31.     private ?\DateTime $createAt null;
  32.     #[ORM\Column]
  33.     private ?\DateTime $updateAt null;
  34.     #[ORM\Column(length255)]
  35.     private ?string $createUser null;
  36.     #[ORM\Column(length255)]
  37.     private ?string $updateUser null;
  38.     #[ORM\ManyToOne(inversedBy'solicitudDotacion')]
  39.     private ?GHContratacion $contratacion null;
  40.     #[ORM\Column(length255nullabletrue)]
  41.     private ?string $otro null;
  42.     #[ORM\OneToMany(mappedBy'solicitudDotacion'targetEntityGHSolicitudDotacionEPP::class)]
  43.     private Collection $solicitudDotacionEPP;
  44.     #[ORM\OneToMany(mappedBy'solicitudDotacion'targetEntityGHSolicitudDotacionGesUsu::class)]
  45.     private Collection $solicitudDotacionGesUsu;
  46.     #[ORM\Column(type"text"nullabletrue)]
  47.     private ?string $llaves null;
  48.     #[ORM\Column(type"text"nullabletrue)]
  49.     private ?string $sello null;
  50.     #[ORM\Column(type"text"nullabletrue)]
  51.     private ?string $celular null;
  52.     #[ORM\ManyToMany(targetEntityParTipoCarnet::class, inversedBy'solicitudDotacion')]
  53.     private Collection $tipoCarnet;
  54.     #[ORM\Column(length255nullabletrue)]
  55.     private ?string $direccionCarnet null;
  56.     #[ORM\Column(length50nullabletrue)]
  57.     private ?string $equipoComputo null;
  58.     #[ORM\Column(nullabletrue)]
  59.     private ?bool $correoCorporativo null;
  60.     #[ORM\Column(length255nullabletrue)]
  61.     private ?string $soporteCarnet null;
  62.     #[ORM\Column(length255nullabletrue)]
  63.     private ?string $fotoCarnet null;
  64.     #[ORM\ManyToMany(targetEntityParRecursosPerfil::class, inversedBy'solicitudDotacion')]
  65.     private Collection $recursosPerfilCargo;
  66.     public function getCreateAt(): ?\DateTime {
  67.         return $this->createAt;
  68.     }
  69.     public function setCreateAt(\DateTime $createAt): static {
  70.         $this->createAt $createAt;
  71.         return $this;
  72.     }
  73.     public function getUpdateAt(): ?\DateTime {
  74.         return $this->updateAt;
  75.     }
  76.     public function setUpdateAt(\DateTime $updateAt): static {
  77.         $this->updateAt $updateAt;
  78.         return $this;
  79.     }
  80.     public function getCreateUser(): ?string {
  81.         return $this->createUser;
  82.     }
  83.     public function setCreateUser(string $createUser): static {
  84.         $this->createUser $createUser;
  85.         return $this;
  86.     }
  87.     public function getUpdateUser(): ?string {
  88.         return $this->updateUser;
  89.     }
  90.     public function setUpdateUser(string $updateUser): static {
  91.         $this->updateUser $updateUser;
  92.         return $this;
  93.     }
  94.     public function __construct() {
  95.         $this->idCarnetizacion = new ArrayCollection();
  96.         $this->solicitudDotacionEPP = new ArrayCollection();
  97.         $this->solicitudDotacionGesUsu = new ArrayCollection();
  98.         $this->tipoCarnet = new ArrayCollection();
  99.         $this->recursosPerfilCargo = new ArrayCollection();
  100.     }
  101.     public function getId(): ?int {
  102.         return $this->id;
  103.     }
  104.     public function getFoto(): ?string {
  105.         return $this->foto;
  106.     }
  107.     public function getCertificadoProcuraduria(): ?string {
  108.         return $this->certificadoProcuraduria;
  109.     }
  110.     public function setFoto(?string $foto): void {
  111.         $this->foto $foto;
  112.     }
  113.     public function setCertificadoProcuraduria(?string $certificadoProcuraduria): void {
  114.         $this->certificadoProcuraduria $certificadoProcuraduria;
  115.     }
  116.     public function getEstado(): ?ParEstado {
  117.         return $this->estado;
  118.     }
  119.     public function setEstado(?ParEstado $estado): static {
  120.         $this->estado $estado;
  121.         return $this;
  122.     }
  123.     public function getCentroCosto(): ?ParCentroCosto {
  124.         return $this->centroCosto;
  125.     }
  126.     public function setCentroCosto(?ParCentroCosto $centroCosto): static {
  127.         $this->centroCosto $centroCosto;
  128.         return $this;
  129.     }
  130.     public function getCandidato(): ?GHCandidato {
  131.         return $this->candidato;
  132.     }
  133.     public function setCandidato(?GHCandidato $candidato): static {
  134.         $this->candidato $candidato;
  135.         return $this;
  136.     }
  137.     public function getEmpresaFilial(): ?TerEmpresa {
  138.         return $this->empresaFilial;
  139.     }
  140.     public function setEmpresaFilial(?TerEmpresa $empresaFilial): static {
  141.         $this->empresaFilial $empresaFilial;
  142.         return $this;
  143.     }
  144.     /**
  145.      * @return Collection<int, GHCarnetizacion>
  146.      */
  147.     public function getIdCarnetizacion(): Collection {
  148.         return $this->idCarnetizacion;
  149.     }
  150.     public function addIdCarnetizacion(GHCarnetizacion $idCarnetizacion): static {
  151.         if (!$this->idCarnetizacion->contains($idCarnetizacion)) {
  152.             $this->idCarnetizacion->add($idCarnetizacion);
  153.             $idCarnetizacion->setSolicitudDotacionId($this);
  154.         }
  155.         return $this;
  156.     }
  157.     public function removeIdCarnetizacion(GHCarnetizacion $idCarnetizacion): static {
  158.         if ($this->idCarnetizacion->removeElement($idCarnetizacion)) {
  159.             // set the owning side to null (unless already changed)
  160.             if ($idCarnetizacion->getSolicitudDotacionId() === $this) {
  161.                 $idCarnetizacion->setSolicitudDotacionId(null);
  162.             }
  163.         }
  164.         return $this;
  165.     }
  166.     public function getTipoDotacion(): ?ParTipoDotacion {
  167.         return $this->tipoDotacion;
  168.     }
  169.     public function setTipoDotacion(?ParTipoDotacion $tipoDotacion): static {
  170.         $this->tipoDotacion $tipoDotacion;
  171.         return $this;
  172.     }
  173.     public function getTalla(): ?ParTalla {
  174.         return $this->talla;
  175.     }
  176.     public function setTalla(?ParTalla $talla): static {
  177.         $this->talla $talla;
  178.         return $this;
  179.     }
  180.     public function getContratacion(): ?GHContratacion
  181.     {
  182.         return $this->contratacion;
  183.     }
  184.     public function setContratacion(?GHContratacion $contratacion): static
  185.     {
  186.         $this->contratacion $contratacion;
  187.         return $this;
  188.     }
  189.     public function getOtro(): ?string
  190.     {
  191.         return $this->otro;
  192.     }
  193.     public function setOtro(?string $otro): static
  194.     {
  195.         $this->otro $otro;
  196.         return $this;
  197.     }
  198.     /**
  199.      * @return Collection<int, GHSolicitudDotacionEPP>
  200.      */
  201.     public function getSolicitudDotacionEPP(): Collection
  202.     {
  203.         return $this->solicitudDotacionEPP;
  204.     }
  205.     public function addSolicitudDotacionEPP(GHSolicitudDotacionEPP $solicitudDotacionEPP): static
  206.     {
  207.         if (!$this->solicitudDotacionEPP->contains($solicitudDotacionEPP)) {
  208.             $this->solicitudDotacionEPP->add($solicitudDotacionEPP);
  209.             $solicitudDotacionEPP->setSolicitudDotacion($this);
  210.         }
  211.         return $this;
  212.     }
  213.     public function removeSolicitudDotacionEPP(GHSolicitudDotacionEPP $solicitudDotacionEPP): static
  214.     {
  215.         if ($this->solicitudDotacionEPP->removeElement($solicitudDotacionEPP)) {
  216.             // set the owning side to null (unless already changed)
  217.             if ($solicitudDotacionEPP->getSolicitudDotacion() === $this) {
  218.                 $solicitudDotacionEPP->setSolicitudDotacion(null);
  219.             }
  220.         }
  221.         return $this;
  222.     }
  223.     /**
  224.      * @return Collection<int, GHSolicitudDotacionGesUsu>
  225.      */
  226.     public function getSolicitudDotacionGesUsu(): Collection
  227.     {
  228.         return $this->solicitudDotacionGesUsu;
  229.     }
  230.     public function addSolicitudDotacionGesUsu(GHSolicitudDotacionGesUsu $solicitudDotacionGesUsu): static
  231.     {
  232.         if (!$this->solicitudDotacionGesUsu->contains($solicitudDotacionGesUsu)) {
  233.             $this->solicitudDotacionGesUsu->add($solicitudDotacionGesUsu);
  234.             $solicitudDotacionGesUsu->setSolicitudDotacion($this);
  235.         }
  236.         return $this;
  237.     }
  238.     public function removeSolicitudDotacionGesUsu(GHSolicitudDotacionGesUsu $solicitudDotacionGesUsu): static
  239.     {
  240.         if ($this->solicitudDotacionGesUsu->removeElement($solicitudDotacionGesUsu)) {
  241.             // set the owning side to null (unless already changed)
  242.             if ($solicitudDotacionGesUsu->getSolicitudDotacion() === $this) {
  243.                 $solicitudDotacionGesUsu->setSolicitudDotacion(null);
  244.             }
  245.         }
  246.         return $this;
  247.     }
  248.     public function isLlaves(): ?string
  249.     {
  250.         return $this->llaves;
  251.     }
  252.     public function setLlaves(?string $llaves): static
  253.     {
  254.         $this->llaves $llaves;
  255.         return $this;
  256.     }
  257.     public function isSello(): ?string
  258.     {
  259.         return $this->sello;
  260.     }
  261.     public function setSello(?string $sello): static
  262.     {
  263.         $this->sello $sello;
  264.         return $this;
  265.     }
  266.     public function isCelular(): ?string
  267.     {
  268.         return $this->celular;
  269.     }
  270.     public function setCelular(?string $celular): static
  271.     {
  272.         $this->celular $celular;
  273.         return $this;
  274.     }
  275.     /**
  276.      * @return Collection<int, ParTipoCarnet>
  277.      */
  278.     public function getTipoCarnet(): Collection
  279.     {
  280.         return $this->tipoCarnet;
  281.     }
  282.     public function addTipoCarnet(ParTipoCarnet $tipoCarnet): static
  283.     {
  284.         if (!$this->tipoCarnet->contains($tipoCarnet)) {
  285.             $this->tipoCarnet->add($tipoCarnet);
  286.         }
  287.         return $this;
  288.     }
  289.     public function removeTipoCarnet(ParTipoCarnet $tipoCarnet): static
  290.     {
  291.         $this->tipoCarnet->removeElement($tipoCarnet);
  292.         return $this;
  293.     }
  294.     public function getDireccionCarnet(): ?string
  295.     {
  296.         return $this->direccionCarnet;
  297.     }
  298.     public function setDireccionCarnet(?string $direccionCarnet): static
  299.     {
  300.         $this->direccionCarnet $direccionCarnet;
  301.         return $this;
  302.     }
  303.     public function getEquipoComputo(): ?string
  304.     {
  305.         return $this->equipoComputo;
  306.     }
  307.     public function setEquipoComputo(?string $equipoComputo): static
  308.     {
  309.         $this->equipoComputo $equipoComputo;
  310.         return $this;
  311.     }
  312.     public function isCorreoCorporativo(): ?bool
  313.     {
  314.         return $this->correoCorporativo;
  315.     }
  316.     public function setCorreoCorporativo(?bool $correoCorporativo): static
  317.     {
  318.         $this->correoCorporativo $correoCorporativo;
  319.         return $this;
  320.     }
  321.     public function getSoporteCarnet(): ?string
  322.     {
  323.         return $this->soporteCarnet;
  324.     }
  325.     public function setSoporteCarnet(?string $soporteCarnet): static
  326.     {
  327.         $this->soporteCarnet $soporteCarnet;
  328.         return $this;
  329.     }
  330.     public function getFotoCarnet(): ?string
  331.     {
  332.         return $this->fotoCarnet;
  333.     }
  334.     public function setFotoCarnet(?string $fotoCarnet): static
  335.     {
  336.         $this->fotoCarnet $fotoCarnet;
  337.         return $this;
  338.     }
  339.     /**
  340.      * @return Collection<int, ParRecursosPerfil>
  341.      */
  342.     public function getRecursosPerfilCargo(): Collection
  343.     {
  344.         return $this->recursosPerfilCargo;
  345.     }
  346.     public function addRecursosPerfilCargo(ParRecursosPerfil $recursosPerfilCargo): static
  347.     {
  348.         if (!$this->recursosPerfilCargo->contains($recursosPerfilCargo)) {
  349.             $this->recursosPerfilCargo->add($recursosPerfilCargo);
  350.         }
  351.         return $this;
  352.     }
  353.     public function removeRecursosPerfilCargo(ParRecursosPerfil $recursosPerfilCargo): static
  354.     {
  355.         $this->recursosPerfilCargo->removeElement($recursosPerfilCargo);
  356.         return $this;
  357.     }
  358. }