src/Entity/ComPoderNaviera.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ComPoderNavieraRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassComPoderNavieraRepository::class)]
  7. class ComPoderNaviera
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  14.     private ?\DateTimeInterface $fechaVencimientoPoder null;
  15.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  16.     private ?\DateTimeInterface $createAt null;
  17.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  18.     private ?\DateTimeInterface $updateAt null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $createUser null;
  21.     #[ORM\Column(length255nullabletrue)]
  22.     private ?string $updateUser null;
  23.     #[ORM\ManyToOne(inversedBy'comPoderNavieras')]
  24.     private ?ComHojaVida $comHojaVida null;
  25.     #[ORM\ManyToOne(inversedBy'comPoderNavieras')]
  26.     private ?ParNavieras $naviera null;
  27.     #[ORM\ManyToOne(inversedBy'comPoderNavieras')]
  28.     private ?ParEstado $estadoPoder null;
  29.     #[ORM\ManyToOne(inversedBy'comPoderNavieras')]
  30.     private ?ComHojaVidaAsociado $comHojaVidaAsociado null;
  31.     public function getId(): ?int
  32.     {
  33.         return $this->id;
  34.     }
  35.     public function getFechaVencimientoPoder(): ?\DateTimeInterface
  36.     {
  37.         return $this->fechaVencimientoPoder;
  38.     }
  39.     public function setFechaVencimientoPoder(?\DateTimeInterface $fechaVencimientoPoder): static
  40.     {
  41.         $this->fechaVencimientoPoder $fechaVencimientoPoder;
  42.         return $this;
  43.     }
  44.     public function getCreateAt(): ?\DateTimeInterface
  45.     {
  46.         return $this->createAt;
  47.     }
  48.     public function setCreateAt(?\DateTimeInterface $createAt): static
  49.     {
  50.         $this->createAt $createAt;
  51.         return $this;
  52.     }
  53.     public function getUpdateAt(): ?\DateTimeInterface
  54.     {
  55.         return $this->updateAt;
  56.     }
  57.     public function setUpdateAt(?\DateTimeInterface $updateAt): static
  58.     {
  59.         $this->updateAt $updateAt;
  60.         return $this;
  61.     }
  62.     public function getCreateUser(): ?string
  63.     {
  64.         return $this->createUser;
  65.     }
  66.     public function setCreateUser(?string $createUser): static
  67.     {
  68.         $this->createUser $createUser;
  69.         return $this;
  70.     }
  71.     public function getUpdateUser(): ?string
  72.     {
  73.         return $this->updateUser;
  74.     }
  75.     public function setUpdateUser(?string $updateUser): static
  76.     {
  77.         $this->updateUser $updateUser;
  78.         return $this;
  79.     }
  80.     public function getComHojaVida(): ?ComHojaVida
  81.     {
  82.         return $this->comHojaVida;
  83.     }
  84.     public function setComHojaVida(?ComHojaVida $comHojaVida): static
  85.     {
  86.         $this->comHojaVida $comHojaVida;
  87.         return $this;
  88.     }
  89.     public function getNaviera(): ?ParNavieras
  90.     {
  91.         return $this->naviera;
  92.     }
  93.     public function setNaviera(?ParNavieras $naviera): static
  94.     {
  95.         $this->naviera $naviera;
  96.         return $this;
  97.     }
  98.     public function getEstadoPoder(): ?ParEstado
  99.     {
  100.         return $this->estadoPoder;
  101.     }
  102.     public function setEstadoPoder(?ParEstado $estadoPoder): static
  103.     {
  104.         $this->estadoPoder $estadoPoder;
  105.         return $this;
  106.     }
  107.     public function getComHojaVidaAsociado(): ?ComHojaVidaAsociado
  108.     {
  109.         return $this->comHojaVidaAsociado;
  110.     }
  111.     public function setComHojaVidaAsociado(?ComHojaVidaAsociado $comHojaVidaAsociado): static
  112.     {
  113.         $this->comHojaVidaAsociado $comHojaVidaAsociado;
  114.         return $this;
  115.     }
  116. }