src/Entity/GHPerfilCargoRelaciones.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GHPerfilCargoRelacionesRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Table(name'gh_perfil_cargo_relacion')]
  7. #[ORM\Entity(repositoryClassGHPerfilCargoRelacionesRepository::class)]
  8. class GHPerfilCargoRelaciones
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column]
  15.     private ?int $relacion null;
  16.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  17.     private ?string $relacionInterna null;
  18.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  19.     private ?string $propositoReIn null;
  20.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  21.     private ?string $relacionExterna null;
  22.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  23.     private ?string $proposito null;
  24.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  25.     private ?\DateTimeInterface $createAt null;
  26.     #[ORM\Column(length50)]
  27.     private ?string $createUser null;
  28.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  29.     private ?\DateTimeInterface $updateAt null;
  30.     #[ORM\Column(length50)]
  31.     private ?string $updateUser null;
  32.     #[ORM\ManyToOne(inversedBy'perfilCargoRelaciones')]
  33.     private ?GHPerfilCargo $perfilCargo null;
  34.     #[ORM\Column(length255nullabletrue)]
  35.     private ?string $descripcionRI null;
  36.     #[ORM\Column(length255nullabletrue)]
  37.     private ?string $descripcionRE null;
  38.     #[ORM\Column(nullabletrue)]
  39.     private ?array $relacionesInternaMultiples null;
  40.     public function getId(): ?int
  41.     {
  42.         return $this->id;
  43.     }
  44.     /**
  45.      * @return string|null
  46.      */
  47.     public function getPropositoReIn(): ?string
  48.     {
  49.         return $this->propositoReIn;
  50.     }
  51.     /**
  52.      * @param string|null $propositoReIn
  53.      */
  54.     public function setPropositoReIn(?string $propositoReIn): void
  55.     {
  56.         $this->propositoReIn $propositoReIn;
  57.     }
  58.     public function getRelacion(): ?int
  59.     {
  60.         return $this->relacion;
  61.     }
  62.     public function setRelacion(int $relacion): static
  63.     {
  64.         $this->relacion $relacion;
  65.         return $this;
  66.     }
  67.     /**
  68.      * @return string|null
  69.      */
  70.     public function getRelacionInterna(): ?string
  71.     {
  72.         return $this->relacionInterna;
  73.     }
  74.     /**
  75.      * @param string|null $relacionInterna
  76.      */
  77.     public function setRelacionInterna(?string $relacionInterna): void
  78.     {
  79.         $this->relacionInterna $relacionInterna;
  80.     }
  81.     public function getRelacionExterna(): ?string
  82.     {
  83.         return $this->relacionExterna;
  84.     }
  85.     public function setRelacionExterna(?string $relacionExterna): static
  86.     {
  87.         $this->relacionExterna $relacionExterna;
  88.         return $this;
  89.     }
  90.     /**
  91.      * @return string|null
  92.      */
  93.     public function getProposito(): ?string
  94.     {
  95.         return $this->proposito;
  96.     }
  97.     /**
  98.      * @param string|null $proposito
  99.      */
  100.     public function setProposito(?string $proposito): void
  101.     {
  102.         $this->proposito $proposito;
  103.     }
  104.     public function getCreateAt(): ?\DateTimeInterface
  105.     {
  106.         return $this->createAt;
  107.     }
  108.     public function setCreateAt(\DateTimeInterface $createAt): static
  109.     {
  110.         $this->createAt $createAt;
  111.         return $this;
  112.     }
  113.     public function getCreateUser(): ?string
  114.     {
  115.         return $this->createUser;
  116.     }
  117.     public function setCreateUser(string $createUser): static
  118.     {
  119.         $this->createUser $createUser;
  120.         return $this;
  121.     }
  122.     public function getUpdateAt(): ?\DateTimeInterface
  123.     {
  124.         return $this->updateAt;
  125.     }
  126.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  127.     {
  128.         $this->updateAt $updateAt;
  129.         return $this;
  130.     }
  131.     public function getUpdateUser(): ?string
  132.     {
  133.         return $this->updateUser;
  134.     }
  135.     public function setUpdateUser(string $updateUser): static
  136.     {
  137.         $this->updateUser $updateUser;
  138.         return $this;
  139.     }
  140.     public function getPerfilCargo(): ?GHPerfilCargo
  141.     {
  142.         return $this->perfilCargo;
  143.     }
  144.     public function setPerfilCargo(?GHPerfilCargo $perfilCargo): static
  145.     {
  146.         $this->perfilCargo $perfilCargo;
  147.         return $this;
  148.     }
  149.     public function getDescripcionRI(): ?string
  150.     {
  151.         return $this->descripcionRI;
  152.     }
  153.     public function setDescripcionRI(?string $descripcionRI): static
  154.     {
  155.         $this->descripcionRI $descripcionRI;
  156.         return $this;
  157.     }
  158.     public function getDescripcionRE(): ?string
  159.     {
  160.         return $this->descripcionRE;
  161.     }
  162.     public function setDescripcionRE(?string $descripcionRE): static
  163.     {
  164.         $this->descripcionRE $descripcionRE;
  165.         return $this;
  166.     }
  167.     public function getRelacionesInternaMultiples(): ?array
  168.     {
  169.         return $this->relacionesInternaMultiples;
  170.     }
  171.     public function setRelacionesInternaMultiples(?array $relacionesInternaMultiples): static
  172.     {
  173.         $this->relacionesInternaMultiples $relacionesInternaMultiples;
  174.         return $this;
  175.     }
  176. }