<?php
namespace App\Entity\Fielpet\View;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* VetcontactView
*
* @ORM\Table(name="VetContact", indexes={@ORM\Index(name="IDX_77DDC522356F5F45", columns={"consultaId"}), @ORM\Index(name="IDX_77DDC5227110ADCD", columns={"estudioMascotaId"}), @ORM\Index(name="IDX_77DDC52265B1D2F9", columns={"internacionMascotaId"}), @ORM\Index(name="IDX_77DDC522E48CB000", columns={"practicaMascotaId"}), @ORM\Index(name="IDX_77DDC5229F60D4D", columns={"cirugiaMascotaId"}), @ORM\Index(name="IDX_77DDC5224F531111", columns={"vetFormId"})})
* @ORM\Entity
*/
class VetcontactView
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="VetContact_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var string|null
*
* @ORM\Column(name="nombre", type="string", length=255, nullable=true)
*/
private $nombre;
/**
* @var string|null
*
* @ORM\Column(name="telefono", type="string", length=255, nullable=true)
*/
private $telefono;
/**
* @var string|null
*
* @ORM\Column(name="mail", type="string", length=255, nullable=true)
*/
private $mail;
/**
* @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 \ConsultaView
*
* @ORM\ManyToOne(targetEntity="ConsultaView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="consultaId", referencedColumnName="id")
* })
*/
private $consultaid;
/**
* @var \EstudiomascotaView
*
* @ORM\ManyToOne(targetEntity="EstudiomascotaView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="estudioMascotaId", referencedColumnName="id")
* })
*/
private $estudiomascotaid;
/**
* @var \InternacionmascotaView
*
* @ORM\ManyToOne(targetEntity="InternacionmascotaView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="internacionMascotaId", referencedColumnName="id")
* })
*/
private $internacionmascotaid;
/**
* @var \PracticamascotaView
*
* @ORM\ManyToOne(targetEntity="PracticamascotaView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="practicaMascotaId", referencedColumnName="id")
* })
*/
private $practicamascotaid;
/**
* @var \CirugiamascotaView
*
* @ORM\ManyToOne(targetEntity="CirugiamascotaView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="cirugiaMascotaId", referencedColumnName="id")
* })
*/
private $cirugiamascotaid;
/**
* @var \VetFormView
*
* @ORM\ManyToOne(targetEntity="VetFormView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="vetFormId", referencedColumnName="id")
* })
*/
private $vetformid;
public function getId(): ?int
{
return $this->id;
}
public function getNombre(): ?string
{
return $this->nombre;
}
public function setNombre(?string $nombre): self
{
$this->nombre = $nombre;
return $this;
}
public function getTelefono(): ?string
{
return $this->telefono;
}
public function setTelefono(?string $telefono): self
{
$this->telefono = $telefono;
return $this;
}
public function getMail(): ?string
{
return $this->mail;
}
public function setMail(?string $mail): self
{
$this->mail = $mail;
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 getConsultaid(): ?ConsultaView
{
return $this->consultaid;
}
public function setConsultaid(?ConsultaView $consultaid): self
{
$this->consultaid = $consultaid;
return $this;
}
public function getEstudiomascotaid(): ?EstudiomascotaView
{
return $this->estudiomascotaid;
}
public function setEstudiomascotaid(?EstudiomascotaView $estudiomascotaid): self
{
$this->estudiomascotaid = $estudiomascotaid;
return $this;
}
public function getInternacionmascotaid(): ?InternacionmascotaView
{
return $this->internacionmascotaid;
}
public function setInternacionmascotaid(?InternacionmascotaView $internacionmascotaid): self
{
$this->internacionmascotaid = $internacionmascotaid;
return $this;
}
public function getPracticamascotaid(): ?PracticaMascotaView
{
return $this->practicamascotaid;
}
public function setPracticamascotaid(?PracticaMascotaView $practicamascotaid): self
{
$this->practicamascotaid = $practicamascotaid;
return $this;
}
public function getCirugiamascotaid(): ?CirugiamascotaView
{
return $this->cirugiamascotaid;
}
public function setCirugiamascotaid(?CirugiamascotaView $cirugiamascotaid): self
{
$this->cirugiamascotaid = $cirugiamascotaid;
return $this;
}
public function getVetformid(): ?VetFormView
{
return $this->vetformid;
}
public function setVetformid(?VetFormView $vetformid): self
{
$this->vetformid = $vetformid;
return $this;
}
}