src/Entity/ComVisitaComercialCompromisos.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ComVisitaComercialCompromisosRepository;
  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(repositoryClassComVisitaComercialCompromisosRepository::class)]
  9. class ComVisitaComercialCompromisos
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $compromiso null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $tipoCompromiso null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $responsableExterno null;
  21.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  22.     private ?\DateTimeInterface $fechaPlaneada null;
  23.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  24.     private ?\DateTimeInterface $createAt null;
  25.     #[ORM\Column(length255)]
  26.     private ?string $createUser null;
  27.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  28.     private ?\DateTimeInterface $updateAt null;
  29.     #[ORM\Column(length255)]
  30.     private ?string $updateUser null;
  31.     #[ORM\ManyToOne(inversedBy'compromisos')]
  32.     private ?ComVisitaComercial $comVisitaComercial null;
  33.     #[ORM\ManyToOne(inversedBy'comVisitaComercialCompromisos')]
  34.     private ?TerPersona $responsableInterno null;
  35.     #[ORM\ManyToOne(inversedBy'compromisosVisita')]
  36.     private ?ComGestionCompromisos $comGestionCompromisos null;
  37.     public function getId(): ?int
  38.     {
  39.         return $this->id;
  40.     }
  41.     public function getCompromiso(): ?string
  42.     {
  43.         return $this->compromiso;
  44.     }
  45.     public function setCompromiso(string $compromiso): static
  46.     {
  47.         $this->compromiso $compromiso;
  48.         return $this;
  49.     }
  50.     public function getTipoCompromiso(): ?string
  51.     {
  52.         return $this->tipoCompromiso;
  53.     }
  54.     public function setTipoCompromiso(string $tipoCompromiso): static
  55.     {
  56.         $this->tipoCompromiso $tipoCompromiso;
  57.         return $this;
  58.     }
  59.     public function getResponsableExterno(): ?string
  60.     {
  61.         return $this->responsableExterno;
  62.     }
  63.     public function setResponsableExterno(?string $responsableExterno): static
  64.     {
  65.         $this->responsableExterno $responsableExterno;
  66.         return $this;
  67.     }
  68.     public function getFechaPlaneada(): ?\DateTimeInterface
  69.     {
  70.         return $this->fechaPlaneada;
  71.     }
  72.     public function setFechaPlaneada(\DateTimeInterface $fechaPlaneada): static
  73.     {
  74.         $this->fechaPlaneada $fechaPlaneada;
  75.         return $this;
  76.     }
  77.     public function getCreateAt(): ?\DateTimeInterface
  78.     {
  79.         return $this->createAt;
  80.     }
  81.     public function setCreateAt(\DateTimeInterface $createAt): static
  82.     {
  83.         $this->createAt $createAt;
  84.         return $this;
  85.     }
  86.     public function getCreateUser(): ?string
  87.     {
  88.         return $this->createUser;
  89.     }
  90.     public function setCreateUser(string $createUser): static
  91.     {
  92.         $this->createUser $createUser;
  93.         return $this;
  94.     }
  95.     public function getUpdateAt(): ?\DateTimeInterface
  96.     {
  97.         return $this->updateAt;
  98.     }
  99.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  100.     {
  101.         $this->updateAt $updateAt;
  102.         return $this;
  103.     }
  104.     public function getUpdateUser(): ?string
  105.     {
  106.         return $this->updateUser;
  107.     }
  108.     public function setUpdateUser(string $updateUser): static
  109.     {
  110.         $this->updateUser $updateUser;
  111.         return $this;
  112.     }
  113.     public function getComVisitaComercial(): ?ComVisitaComercial
  114.     {
  115.         return $this->comVisitaComercial;
  116.     }
  117.     public function setComVisitaComercial(?ComVisitaComercial $comVisitaComercial): static
  118.     {
  119.         $this->comVisitaComercial $comVisitaComercial;
  120.         return $this;
  121.     }
  122.     public function getResponsableInterno(): ?TerPersona
  123.     {
  124.         return $this->responsableInterno;
  125.     }
  126.     public function setResponsableInterno(?TerPersona $responsableInterno): static
  127.     {
  128.         $this->responsableInterno $responsableInterno;
  129.         return $this;
  130.     }
  131.     public function getComGestionCompromisos(): ?ComGestionCompromisos
  132.     {
  133.         return $this->comGestionCompromisos;
  134.     }
  135.     public function setComGestionCompromisos(?ComGestionCompromisos $comGestionCompromisos): static
  136.     {
  137.         $this->comGestionCompromisos $comGestionCompromisos;
  138.         return $this;
  139.     }
  140. }