src/Entity/EmbajadorParticipante.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\EmbajadorParticipanteRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=EmbajadorParticipanteRepository::class)
  7.  */
  8. class EmbajadorParticipante
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=Embajadores::class, inversedBy="embajadorParticipantes")
  18.      */
  19.     private $embajadores;
  20.     /**
  21.      * @ORM\ManyToOne(targetEntity=Agenda::class, inversedBy="embajadorParticipantes")
  22.      */
  23.     private $agenda;
  24.     /**
  25.      * @ORM\Column(type="string", length=45, nullable=true)
  26.      */
  27.     private $observacion;
  28.     /**
  29.      * @ORM\Column(type="integer", nullable=true)
  30.      */
  31.     private $horas;
  32.     /**
  33.      * @ORM\Column(type="integer", nullable=true)
  34.      */
  35.     private $valorTotal;
  36.     /**
  37.      * @ORM\Column(type="smallint", nullable=true)
  38.      */
  39.     private $pagado;
  40.     /**
  41.      * @ORM\Column(type="string", length=255)
  42.      */
  43.     private $estado;
  44.     /**
  45.      * @ORM\Column(type="string", length=255, nullable=true)
  46.      */
  47.     private $tipo;
  48.     /**
  49.      * @ORM\Column(type="text", nullable=true)
  50.      */
  51.     private $cuerpo;
  52.     /**
  53.      * @ORM\Column(type="boolean", nullable=true, options={"default": false})
  54.      */
  55.     private $enviado;
  56.     /**
  57.      * @ORM\Column(type="integer", nullable=true)
  58.      */
  59.     private $monto;
  60.     /**
  61.      * @ORM\Column(type="date", nullable=true)
  62.      */
  63.     private $fecha;
  64.     /**
  65.      * @ORM\ManyToOne(targetEntity=Nominapago::class, inversedBy="embajadorParticipantes")
  66.      */
  67.     private $nomina;
  68.     /**
  69.      * @ORM\Column(type="text", nullable=true)
  70.      */
  71.     private $correo;
  72.     /**
  73.      * @ORM\Column(type="string", length=255, nullable=true)
  74.      */
  75.     private $rol;
  76.     /**
  77.      * @ORM\Column(type="string", length=50, nullable=true, unique=true)
  78.      */
  79.     private $codigoQr;
  80.     /**
  81.      * @ORM\Column(type="string", length=20, nullable=true)
  82.      */
  83.     private $estadoConfirmacion 'pendiente';
  84.     /**
  85.      * @ORM\Column(type="datetime", nullable=true)
  86.      */
  87.     private $fechaConfirmacion;
  88.     public function getId(): ?int
  89.     {
  90.         return $this->id;
  91.     }
  92.     public function getEmbajadores(): ?Embajadores
  93.     {
  94.         return $this->embajadores;
  95.     }
  96.     public function setEmbajadores(?Embajadores $embajadores): self
  97.     {
  98.         $this->embajadores $embajadores;
  99.         return $this;
  100.     }
  101.     public function getAgenda(): ?Agenda
  102.     {
  103.         return $this->agenda;
  104.     }
  105.     public function setAgenda(?Agenda $agenda): self
  106.     {
  107.         $this->agenda $agenda;
  108.         return $this;
  109.     }
  110.     public function getObservacion(): ?string
  111.     {
  112.         return $this->observacion;
  113.     }
  114.     public function setObservacion(?string $observacion): self
  115.     {
  116.         $this->observacion $observacion;
  117.         return $this;
  118.     }
  119.     public function getHoras(): ?int
  120.     {
  121.         return $this->horas;
  122.     }
  123.     public function setHoras(?int $horas): self
  124.     {
  125.         $this->horas $horas;
  126.         return $this;
  127.     }
  128.     public function getValorTotal(): ?int
  129.     {
  130.         return $this->valorTotal;
  131.     }
  132.     public function setValorTotal(?int $valorTotal): self
  133.     {
  134.         $this->valorTotal $valorTotal;
  135.         return $this;
  136.     }
  137.     public function getPagado(): ?int
  138.     {
  139.         return $this->pagado;
  140.     }
  141.     public function setPagado(?int $pagado): self
  142.     {
  143.         $this->pagado $pagado;
  144.         return $this;
  145.     }
  146.     public function getEstado(): ?string
  147.     {
  148.         return $this->estado;
  149.     }
  150.     public function setEstado(string $estado): self
  151.     {
  152.         $this->estado $estado;
  153.         return $this;
  154.     }
  155.     public function getTipo(): ?string
  156.     {
  157.         return $this->tipo;
  158.     }
  159.     public function setTipo(?string $tipo): self
  160.     {
  161.         $this->tipo $tipo;
  162.         return $this;
  163.     }
  164.     public function getCuerpo(): ?string
  165.     {
  166.         return $this->cuerpo;
  167.     }
  168.     public function setCuerpo(?string $cuerpo): self
  169.     {
  170.         $this->cuerpo $cuerpo;
  171.         return $this;
  172.     }
  173.     public function isEnviado(): ?bool
  174.     {
  175.         return $this->enviado;
  176.     }
  177.     public function setEnviado(?bool $enviado): self
  178.     {
  179.         $this->enviado $enviado;
  180.         return $this;
  181.     }
  182.     public function getMonto(): ?int
  183.     {
  184.         return $this->monto;
  185.     }
  186.     public function setMonto(?int $monto): self
  187.     {
  188.         $this->monto $monto;
  189.         return $this;
  190.     }
  191.     public function getFecha(): ?\DateTimeInterface
  192.     {
  193.         return $this->fecha;
  194.     }
  195.     public function setFecha(?\DateTimeInterface $fecha): self
  196.     {
  197.         $this->fecha $fecha;
  198.         return $this;
  199.     }
  200.     public function getNomina(): ?Nominapago
  201.     {
  202.         return $this->nomina;
  203.     }
  204.     public function setNomina(?Nominapago $nomina): self
  205.     {
  206.         $this->nomina $nomina;
  207.         return $this;
  208.     }
  209.     public function getCorreo(): ?string
  210.     {
  211.         return $this->correo;
  212.     }
  213.     public function setCorreo(?string $correo): self
  214.     {
  215.         $this->correo $correo;
  216.         return $this;
  217.     }
  218.     public function getRol(): ?string
  219.     {
  220.         return $this->rol;
  221.     }
  222.     public function setRol(?string $rol): self
  223.     {
  224.         $this->rol $rol;
  225.         return $this;
  226.     }
  227.     public function getCodigoQr(): ?string
  228.     {
  229.         return $this->codigoQr;
  230.     }
  231.     public function setCodigoQr(?string $codigoQr): self
  232.     {
  233.         $this->codigoQr $codigoQr;
  234.         return $this;
  235.     }
  236.     public function getEstadoConfirmacion(): ?string
  237.     {
  238.         return $this->estadoConfirmacion;
  239.     }
  240.     public function setEstadoConfirmacion(?string $estadoConfirmacion): self
  241.     {
  242.         $this->estadoConfirmacion $estadoConfirmacion;
  243.         return $this;
  244.     }
  245.     public function getFechaConfirmacion(): ?\DateTimeInterface
  246.     {
  247.         return $this->fechaConfirmacion;
  248.     }
  249.     public function setFechaConfirmacion(?\DateTimeInterface $fechaConfirmacion): self
  250.     {
  251.         $this->fechaConfirmacion $fechaConfirmacion;
  252.         return $this;
  253.     }
  254. }