src/Entity/GHDocumentoContratacion.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GHDocumentoContratacionRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Table(name'gh_documento_contratacion')]
  7. #[ORM\Entity(repositoryClassGHDocumentoContratacionRepository::class)]
  8. class GHDocumentoContratacion {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $evidencia null;
  15.     #[ORM\ManyToOne(inversedBy'documentoContratacion')]
  16.     private ?DocDocumento $documento null;
  17.     #[ORM\ManyToOne(inversedBy'documentoContratacion')]
  18.     private ?GHContratacion $contratacion null;
  19.     #[ORM\Column]
  20.     private ?\DateTime $createAt null;
  21.     #[ORM\Column]
  22.     private ?\DateTime $updateAt null;
  23.     #[ORM\Column(length55)]
  24.     private ?string $createUser null;
  25.     #[ORM\Column(length55)]
  26.     private ?string $updateUser null;
  27.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  28.     private ?\DateTimeInterface $fecha null;
  29.     public function getCreateAt(): ?\DateTime {
  30.         return $this->createAt;
  31.     }
  32.     public function setCreateAt(\DateTime $createAt): static {
  33.         $this->createAt $createAt;
  34.         return $this;
  35.     }
  36.     public function getUpdateAt(): ?\DateTime {
  37.         return $this->updateAt;
  38.     }
  39.     public function setUpdateAt(\DateTime $updateAt): static {
  40.         $this->updateAt $updateAt;
  41.         return $this;
  42.     }
  43.     public function getCreateUser(): ?string {
  44.         return $this->createUser;
  45.     }
  46.     public function setCreateUser(string $createUser): static {
  47.         $this->createUser $createUser;
  48.         return $this;
  49.     }
  50.     public function getUpdateUser(): ?string {
  51.         return $this->updateUser;
  52.     }
  53.     public function setUpdateUser(string $updateUser): static {
  54.         $this->updateUser $updateUser;
  55.         return $this;
  56.     }
  57.     public function getId(): ?int {
  58.         return $this->id;
  59.     }
  60.     public function getEvidencia(): ?string {
  61.         return $this->evidencia;
  62.     }
  63.     public function setEvidencia(string $evidencia): static {
  64.         $this->evidencia $evidencia;
  65.         return $this;
  66.     }
  67.     public function getDocumento(): ?DocDocumento {
  68.         return $this->documento;
  69.     }
  70.     public function setDocumento(?DocDocumento $documento): static {
  71.         $this->documento $documento;
  72.         return $this;
  73.     }
  74.     public function getContratacion(): ?GHContratacion {
  75.         return $this->contratacion;
  76.     }
  77.     public function setContratacion(?GHContratacion $contratacion): static {
  78.         $this->contratacion $contratacion;
  79.         return $this;
  80.     }
  81.     public function getFecha(): ?\DateTimeInterface
  82.     {
  83.         return $this->fecha;
  84.     }
  85.     public function setFecha(?\DateTimeInterface $fecha): void
  86.     {
  87.         $this->fecha $fecha;
  88.     }
  89. }