<?php
namespace App\Entity\Fielpet\View;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* ProductosdesparacitacionView
*
* @ORM\Table(name="ProductosDesparacitacion", indexes={@ORM\Index(name="IDX_429FB6D0BF7FE938", columns={"usuarioId"})})
* @ORM\Entity
*/
class ProductosdesparacitacionView
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="ProductosDesparacitacion_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="animal", type="string", length=255, nullable=true)
*/
private $animal;
/**
* @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 \UsuariosView
*
* @ORM\ManyToOne(targetEntity="UsuariosView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="usuarioId", referencedColumnName="id")
* })
*/
private $usuarioid;
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 getAnimal(): ?string
{
return $this->animal;
}
public function setAnimal(?string $animal): self
{
$this->animal = $animal;
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 getUsuarioid(): ?UsuariosView
{
return $this->usuarioid;
}
public function setUsuarioid(?UsuariosView $usuarioid): self
{
$this->usuarioid = $usuarioid;
return $this;
}
}