src/Entity/Contabilidad/PagoFidelizacion.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Contabilidad;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * PagoFidelizacion
  6.  *
  7.  * @ORM\Table(name="contabilidad.pago_fidelizacion", indexes={@ORM\Index(name="IDX_D4861A88341E4CCF", columns={"id_pagos"})})
  8.  * @ORM\Entity
  9.  */
  10. class PagoFidelizacion
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="SEQUENCE")
  18.      * @ORM\SequenceGenerator(sequenceName="contabilidad.pago_fidelizacion_id_seq", allocationSize=1, initialValue=1)
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var string
  23.      *
  24.      * @ORM\Column(name="valor", type="decimal", precision=10, scale=2, nullable=false)
  25.      */
  26.     private $valor;
  27.     /**
  28.      * @var string
  29.      *
  30.      * @ORM\Column(name="observacion", type="text", nullable=false)
  31.      */
  32.     private $observacion;
  33.     /**
  34.      * @var int
  35.      *
  36.      * @ORM\Column(name="id_usuario_modificacion", type="integer", nullable=false)
  37.      */
  38.     private $idUsuarioModificacion;
  39.     /**
  40.      * @var \DateTime
  41.      *
  42.      * @ORM\Column(name="fecha_modificacion", type="datetime", nullable=false)
  43.      */
  44.     private $fechaModificacion;
  45.     /**
  46.      * @var string
  47.      *
  48.      * @ORM\Column(name="ip_modificacion", type="string", length=50, nullable=false)
  49.      */
  50.     private $ipModificacion;
  51.     /**
  52.      * @var \Pagos
  53.      *
  54.      * @ORM\ManyToOne(targetEntity="Pagos")
  55.      * @ORM\JoinColumns({
  56.      *   @ORM\JoinColumn(name="id_pagos", referencedColumnName="id")
  57.      * })
  58.      */
  59.     private $idPagos;
  60.     public function getId(): ?int
  61.     {
  62.         return $this->id;
  63.     }
  64.     public function getValor(): ?string
  65.     {
  66.         return $this->valor;
  67.     }
  68.     public function setValor(string $valor): self
  69.     {
  70.         $this->valor $valor;
  71.         return $this;
  72.     }
  73.     public function getObservacion(): ?string
  74.     {
  75.         return $this->observacion;
  76.     }
  77.     public function setObservacion(string $observacion): self
  78.     {
  79.         $this->observacion $observacion;
  80.         return $this;
  81.     }
  82.     public function getIdUsuarioModificacion(): ?int
  83.     {
  84.         return $this->idUsuarioModificacion;
  85.     }
  86.     public function setIdUsuarioModificacion(int $idUsuarioModificacion): self
  87.     {
  88.         $this->idUsuarioModificacion $idUsuarioModificacion;
  89.         return $this;
  90.     }
  91.     public function getFechaModificacion(): ?\DateTimeInterface
  92.     {
  93.         return $this->fechaModificacion;
  94.     }
  95.     public function setFechaModificacion(\DateTimeInterface $fechaModificacion): self
  96.     {
  97.         $this->fechaModificacion $fechaModificacion;
  98.         return $this;
  99.     }
  100.     public function getIpModificacion(): ?string
  101.     {
  102.         return $this->ipModificacion;
  103.     }
  104.     public function setIpModificacion(string $ipModificacion): self
  105.     {
  106.         $this->ipModificacion $ipModificacion;
  107.         return $this;
  108.     }
  109.     public function getIdPagos(): ?Pagos
  110.     {
  111.         return $this->idPagos;
  112.     }
  113.     public function setIdPagos(?Pagos $idPagos): self
  114.     {
  115.         $this->idPagos $idPagos;
  116.         return $this;
  117.     }
  118. }