src/Entity/ComComfirmarTarifa.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ComComfirmarTarifaRepository;
  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. #[ORM\Entity(repositoryClassComComfirmarTarifaRepository::class)]
  9. class ComComfirmarTarifa
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  16.     private ?\DateTimeInterface $actualizacionApplySoft null;
  17.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  18.     private ?\DateTimeInterface $actualizacionOpenComex null;
  19.     #[ORM\ManyToMany(targetEntityComInformacionContacto::class, inversedBy'comComfirmarTarifas')]
  20.     private Collection $comInformacionContactoNotificacion;
  21.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  22.     private ?\DateTimeInterface $createAt null;
  23.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  24.     private ?\DateTimeInterface $updateAt null;
  25.     #[ORM\Column(length255nullabletrue)]
  26.     private ?string $createUser null;
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $updateUser null;
  29.     #[ORM\ManyToOne(inversedBy'comComfirmarTarifas')]
  30.     private ?TerEmpresaCliente $terEmpresaCliente null;
  31.     public function __construct()
  32.     {
  33.         $this->comInformacionContactoNotificacion = new ArrayCollection();
  34.     }
  35.     public function getId(): ?int
  36.     {
  37.         return $this->id;
  38.     }
  39.     public function getActualizacionApplySoft(): ?\DateTimeInterface
  40.     {
  41.         return $this->actualizacionApplySoft;
  42.     }
  43.     public function setActualizacionApplySoft(?\DateTimeInterface $actualizacionApplySoft): static
  44.     {
  45.         $this->actualizacionApplySoft $actualizacionApplySoft;
  46.         return $this;
  47.     }
  48.     public function getActualizacionOpenComex(): ?\DateTimeInterface
  49.     {
  50.         return $this->actualizacionOpenComex;
  51.     }
  52.     public function setActualizacionOpenComex(?\DateTimeInterface $actualizacionOpenComex): static
  53.     {
  54.         $this->actualizacionOpenComex $actualizacionOpenComex;
  55.         return $this;
  56.     }
  57.     /**
  58.      * @return Collection<int, ComInformacionContacto>
  59.      */
  60.     public function getComInformacionContactoNotificacion(): Collection
  61.     {
  62.         return $this->comInformacionContactoNotificacion;
  63.     }
  64.     public function addComInformacionContactoNotificacion(ComInformacionContacto $comInformacionContactoNotificacion): static
  65.     {
  66.         if (!$this->comInformacionContactoNotificacion->contains($comInformacionContactoNotificacion)) {
  67.             $this->comInformacionContactoNotificacion->add($comInformacionContactoNotificacion);
  68.         }
  69.         return $this;
  70.     }
  71.     public function removeComInformacionContactoNotificacion(ComInformacionContacto $comInformacionContactoNotificacion): static
  72.     {
  73.         $this->comInformacionContactoNotificacion->removeElement($comInformacionContactoNotificacion);
  74.         return $this;
  75.     }
  76.     public function getCreateAt(): ?\DateTimeInterface
  77.     {
  78.         return $this->createAt;
  79.     }
  80.     public function setCreateAt(?\DateTimeInterface $createAt): static
  81.     {
  82.         $this->createAt $createAt;
  83.         return $this;
  84.     }
  85.     public function getUpdateAt(): ?\DateTimeInterface
  86.     {
  87.         return $this->updateAt;
  88.     }
  89.     public function setUpdateAt(?\DateTimeInterface $updateAt): static
  90.     {
  91.         $this->updateAt $updateAt;
  92.         return $this;
  93.     }
  94.     public function getCreateUser(): ?string
  95.     {
  96.         return $this->createUser;
  97.     }
  98.     public function setCreateUser(?string $createUser): static
  99.     {
  100.         $this->createUser $createUser;
  101.         return $this;
  102.     }
  103.     public function getUpdateUser(): ?string
  104.     {
  105.         return $this->updateUser;
  106.     }
  107.     public function setUpdateUser(?string $updateUser): static
  108.     {
  109.         $this->updateUser $updateUser;
  110.         return $this;
  111.     }
  112.     public function getTerEmpresaCliente(): ?TerEmpresaCliente
  113.     {
  114.         return $this->terEmpresaCliente;
  115.     }
  116.     public function setTerEmpresaCliente(?TerEmpresaCliente $terEmpresaCliente): static
  117.     {
  118.         $this->terEmpresaCliente $terEmpresaCliente;
  119.         return $this;
  120.     }
  121. }