<?php
namespace App\Entity\Fielpet\View;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
*
* CodigomovimientoView
*
* @ORM\Table(name="CodigoMovimiento")
* @ORM\Entity
*/
class CodigomovimientoView
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="CodigoMovimiento_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var string|null
*
* @ORM\Column(name="razon", type="string", length=255, nullable=true)
*/
private $razon;
/**
* @var string|null
*
* @ORM\Column(name="icono", type="string", length=255, nullable=true)
*/
private $icono;
/**
* @var string|null
*
* @ORM\Column(name="color", type="string", length=255, nullable=true)
*/
private $color;
/**
* @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;
public function getId(): ?int
{
return $this->id;
}
public function getRazon(): ?string
{
return $this->razon;
}
public function setRazon(?string $razon): self
{
$this->razon = $razon;
return $this;
}
public function getIcono(): ?string
{
return $this->icono;
}
public function setIcono(?string $icono): self
{
$this->icono = $icono;
return $this;
}
public function getColor(): ?string
{
return $this->color;
}
public function setColor(?string $color): self
{
$this->color = $color;
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;
}
}