<?php
namespace App\Entity\Fielpet\View;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* EventosdespexternaView
*
* @ORM\Table(name="EventosDespExterna", indexes={@ORM\Index(name="IDX_CC5A3ECBFB34125D", columns={"eventoId"}), @ORM\Index(name="IDX_CC5A3ECB613311E3", columns={"productoDesparacitacionId"})})
* @ORM\Entity
*/
class EventosdespexternaView
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="EventosDespExterna_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var \DateTime|null
*
* @ORM\Column(name="refuerzo", type="custom_datetimetz", nullable=true)
*/
private $refuerzo;
/**
* @var \DateTime
*
* @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
*/
private $createdat;
/**
* @var \DateTime
*
* @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
*/
private $updatedat;
/**
* @var \EventosView
*
* @ORM\ManyToOne(targetEntity="EventosView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="eventoId", referencedColumnName="id")
* })
*/
private $eventoid;
/**
* @var \ProductosdesparacitacionView
*
* @ORM\ManyToOne(targetEntity="ProductosdesparacitacionView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="productoDesparacitacionId", referencedColumnName="id")
* })
*/
private $productodesparacitacionid;
public function getId(): ?int
{
return $this->id;
}
public function getRefuerzo(): ?\DateTimeInterface
{
return $this->refuerzo;
}
public function setRefuerzo(?\DateTimeInterface $refuerzo): self
{
$this->refuerzo = $refuerzo;
return $this;
}
public function getCreatedat(): ?\DateTimeInterface
{
return $this->createdat;
}
public function setCreatedat(\DateTimeInterface $createdat): self
{
$this->createdat = $createdat;
return $this;
}
public function getUpdatedat(): ?\DateTimeInterface
{
return $this->updatedat;
}
public function setUpdatedat(\DateTimeInterface $updatedat): self
{
$this->updatedat = $updatedat;
return $this;
}
public function getEventoid(): ?EventosView
{
return $this->eventoid;
}
public function setEventoid(?EventosView $eventoid): self
{
$this->eventoid = $eventoid;
return $this;
}
public function getProductodesparacitacionid(): ?ProductosdesparacitacionView
{
return $this->productodesparacitacionid;
}
public function setProductodesparacitacionid(?ProductosdesparacitacionView $productodesparacitacionid): self
{
$this->productodesparacitacionid = $productodesparacitacionid;
return $this;
}
}