<?php
namespace App\Entity\Fielpet\View;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* VetformMedicamentosView
*
* @ORM\Table(name="vetform_medicamentos_view", indexes={@ORM\Index(name="IDX_B6628D8E80EE288D", columns={"vetformId"}), @ORM\Index(name="IDX_B6628D8EF187BC63", columns={"medicamentosId"})})
* @ORM\Entity
*/
class VetformMedicamentosView
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="VetFormMedicamentos_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @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 MedicamentosView
*
* @ORM\ManyToOne(targetEntity="MedicamentosView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="medicamentos_id", referencedColumnName="id")
* })
*/
private $medicamentosId;
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
/**
* @param int $id
*/
public function setId(int $id): void
{
$this->id = $id;
}
/**
* @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 MedicamentosView
*/
public function getMedicamentosId(): MedicamentosView
{
return $this->medicamentosId;
}
/**
* @param MedicamentosView $medicamentosId
*/
public function setMedicamentosId(MedicamentosView $medicamentosId): void
{
$this->medicamentosId = $medicamentosId;
}
}