<?php
namespace App\Entity\Fielpet\View;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* MovimientosiniestroView
*
* @ORM\Table(name="MovimientoSiniestro", indexes={@ORM\Index(name="IDX_7D9B334452066F5", columns={"siniestroId"}), @ORM\Index(name="IDX_7D9B3344377FD2E6", columns={"codigoMovimientoId"})})
* @ORM\Entity
*/
class MovimientosiniestroView
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="SEQUENCE")
* @ORM\SequenceGenerator(sequenceName="MovimientoSiniestro_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var string|null
*
* @ORM\Column(name="texto_adicional", type="text", nullable=true)
*/
private $textoAdicional;
/**
* @var \DateTime|null
*
* @ORM\Column(name="fecha_movimiento", type="custom_datetimetz", nullable=true)
*/
private $fechaMovimiento;
/**
* @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 SiniestroView
*
* @ORM\ManyToOne(targetEntity="SiniestroView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="siniestroId", referencedColumnName="id")
* })
*/
private $siniestroid;
/**
* @var CodigomovimientoView
*
* @ORM\ManyToOne(targetEntity="CodigomovimientoView")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="codigoMovimientoId", referencedColumnName="id")
* })
*/
private $codigomovimientoid;
public function getId(): ?int
{
return $this->id;
}
public function getTextoAdicional(): ?string
{
return $this->textoAdicional;
}
public function setTextoAdicional(?string $textoAdicional): self
{
$this->textoAdicional = $textoAdicional;
return $this;
}
public function getFechaMovimiento(): ?\DateTimeInterface
{
return $this->fechaMovimiento;
}
public function setFechaMovimiento(?\DateTimeInterface $fechaMovimiento): self
{
$this->fechaMovimiento = $fechaMovimiento;
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 getSiniestroid(): ?SiniestroView
{
return $this->siniestroid;
}
public function setSiniestroid(?SiniestroView $siniestroid): self
{
$this->siniestroid = $siniestroid;
return $this;
}
public function getCodigomovimientoid(): ?CodigomovimientoView
{
return $this->codigomovimientoid;
}
public function setCodigomovimientoid(?CodigomovimientoView $codigomovimientoid): self
{
$this->codigomovimientoid = $codigomovimientoid;
return $this;
}
}