<?php
namespace App\Entity\Fielpet\View;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* RecomendacionMascotaView
*
* @ORM\Table(name="recomendacion_mascota_view", indexes={@ORM\Index(name="IDX_67C7B6074F531111", columns={"vetFormId"}), @ORM\Index(name="IDX_67C7B60752066F5", columns={"siniestroId"})})
* @ORM\Entity
*/
class RecomendacionMascotaView
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="RecomendacionMascota_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var string|null
*
* @ORM\Column(name="recomendacion", type="string", length=255, nullable=true)
*/
private $recomendacion;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="custom_datetimetz", nullable=false)
*/
private $createdAt;
/**
* @var \DateTime
*
* @ORM\Column(name="updated_at", type="custom_datetimetz", nullable=false)
*/
private $updatedAt;
/**
* @var VetFormView
*
* @ORM\ManyToOne(targetEntity="VetFormView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="vetform_id", referencedColumnName="id")
* })
*/
private $vetformId;
/**
* @var SiniestroView
*
* @ORM\ManyToOne(targetEntity="SiniestroView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="siniestro_id", referencedColumnName="id")
* })
*/
private $siniestroId;
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
/**
* @param int $id
*/
public function setId(int $id): void
{
$this->id = $id;
}
/**
* @return string|null
*/
public function getRecomendacion(): ?string
{
return $this->recomendacion;
}
/**
* @param string|null $recomendacion
*/
public function setRecomendacion(?string $recomendacion): void
{
$this->recomendacion = $recomendacion;
}
/**
* @return \DateTime
*/
public function getCreatedAt(): \DateTime
{
return $this->createdAt;
}
/**
* @param \DateTime $createdAt
*/
public function setCreatedAt(\DateTime $createdAt): void
{
$this->createdAt = $createdAt;
}
/**
* @return \DateTime
*/
public function getUpdatedAt(): \DateTime
{
return $this->updatedAt;
}
/**
* @param \DateTime $updatedAt
*/
public function setUpdatedAt(\DateTime $updatedAt): void
{
$this->updatedAt = $updatedAt;
}
/**
* @return VetFormView
*/
public function getVetformId(): VetFormView
{
return $this->vetformId;
}
/**
* @param VetFormView $vetformId
*/
public function setVetformId(VetFormView $vetformId): void
{
$this->vetformId = $vetformId;
}
/**
* @return SiniestroView
*/
public function getSiniestroId(): SiniestroView
{
return $this->siniestroId;
}
/**
* @param SiniestroView $siniestroId
*/
public function setSiniestroId(SiniestroView $siniestroId): void
{
$this->siniestroId = $siniestroId;
}
}