<?php
namespace App\Entity;
use App\Repository\EmbajadorParticipanteRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=EmbajadorParticipanteRepository::class)
*/
class EmbajadorParticipante
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=Embajadores::class, inversedBy="embajadorParticipantes")
*/
private $embajadores;
/**
* @ORM\ManyToOne(targetEntity=Agenda::class, inversedBy="embajadorParticipantes")
*/
private $agenda;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $observacion;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $horas;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $valorTotal;
/**
* @ORM\Column(type="smallint", nullable=true)
*/
private $pagado;
/**
* @ORM\Column(type="string", length=255)
*/
private $estado;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $tipo;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $cuerpo;
/**
* @ORM\Column(type="boolean", nullable=true, options={"default": false})
*/
private $enviado;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $monto;
/**
* @ORM\Column(type="date", nullable=true)
*/
private $fecha;
/**
* @ORM\ManyToOne(targetEntity=Nominapago::class, inversedBy="embajadorParticipantes")
*/
private $nomina;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $correo;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $rol;
/**
* @ORM\Column(type="string", length=50, nullable=true, unique=true)
*/
private $codigoQr;
/**
* @ORM\Column(type="string", length=20, nullable=true)
*/
private $estadoConfirmacion = 'pendiente';
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $fechaConfirmacion;
public function getId(): ?int
{
return $this->id;
}
public function getEmbajadores(): ?Embajadores
{
return $this->embajadores;
}
public function setEmbajadores(?Embajadores $embajadores): self
{
$this->embajadores = $embajadores;
return $this;
}
public function getAgenda(): ?Agenda
{
return $this->agenda;
}
public function setAgenda(?Agenda $agenda): self
{
$this->agenda = $agenda;
return $this;
}
public function getObservacion(): ?string
{
return $this->observacion;
}
public function setObservacion(?string $observacion): self
{
$this->observacion = $observacion;
return $this;
}
public function getHoras(): ?int
{
return $this->horas;
}
public function setHoras(?int $horas): self
{
$this->horas = $horas;
return $this;
}
public function getValorTotal(): ?int
{
return $this->valorTotal;
}
public function setValorTotal(?int $valorTotal): self
{
$this->valorTotal = $valorTotal;
return $this;
}
public function getPagado(): ?int
{
return $this->pagado;
}
public function setPagado(?int $pagado): self
{
$this->pagado = $pagado;
return $this;
}
public function getEstado(): ?string
{
return $this->estado;
}
public function setEstado(string $estado): self
{
$this->estado = $estado;
return $this;
}
public function getTipo(): ?string
{
return $this->tipo;
}
public function setTipo(?string $tipo): self
{
$this->tipo = $tipo;
return $this;
}
public function getCuerpo(): ?string
{
return $this->cuerpo;
}
public function setCuerpo(?string $cuerpo): self
{
$this->cuerpo = $cuerpo;
return $this;
}
public function isEnviado(): ?bool
{
return $this->enviado;
}
public function setEnviado(?bool $enviado): self
{
$this->enviado = $enviado;
return $this;
}
public function getMonto(): ?int
{
return $this->monto;
}
public function setMonto(?int $monto): self
{
$this->monto = $monto;
return $this;
}
public function getFecha(): ?\DateTimeInterface
{
return $this->fecha;
}
public function setFecha(?\DateTimeInterface $fecha): self
{
$this->fecha = $fecha;
return $this;
}
public function getNomina(): ?Nominapago
{
return $this->nomina;
}
public function setNomina(?Nominapago $nomina): self
{
$this->nomina = $nomina;
return $this;
}
public function getCorreo(): ?string
{
return $this->correo;
}
public function setCorreo(?string $correo): self
{
$this->correo = $correo;
return $this;
}
public function getRol(): ?string
{
return $this->rol;
}
public function setRol(?string $rol): self
{
$this->rol = $rol;
return $this;
}
public function getCodigoQr(): ?string
{
return $this->codigoQr;
}
public function setCodigoQr(?string $codigoQr): self
{
$this->codigoQr = $codigoQr;
return $this;
}
public function getEstadoConfirmacion(): ?string
{
return $this->estadoConfirmacion;
}
public function setEstadoConfirmacion(?string $estadoConfirmacion): self
{
$this->estadoConfirmacion = $estadoConfirmacion;
return $this;
}
public function getFechaConfirmacion(): ?\DateTimeInterface
{
return $this->fechaConfirmacion;
}
public function setFechaConfirmacion(?\DateTimeInterface $fechaConfirmacion): self
{
$this->fechaConfirmacion = $fechaConfirmacion;
return $this;
}
}