<?php
namespace App\Entity;
use App\Repository\LiquidacionesRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LiquidacionesRepository::class)]
class Liquidaciones
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: Types::DATE_MUTABLE)]
private ?\DateTimeInterface $fechainicio = null;
#[ORM\Column(type: Types::DATE_MUTABLE)]
private ?\DateTimeInterface $fechafinal = null;
#[ORM\ManyToOne(inversedBy: 'liquidaciones')]
#[ORM\JoinColumn(nullable: false)]
private ?Landlords $landlord = null;
#[ORM\Column]
private ?float $importe = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $fecharegistro = null;
#[ORM\Column]
private ?bool $cerrada = null;
#[ORM\ManyToOne(inversedBy: 'liquidaciones')]
#[ORM\JoinColumn(nullable: false)]
private ?PropertyList $property = null;
public function getId(): ?int
{
return $this->id;
}
public function getFechainicio(): ?\DateTimeInterface
{
return $this->fechainicio;
}
public function setFechainicio(\DateTimeInterface $fechainicio): static
{
$this->fechainicio = $fechainicio;
return $this;
}
public function getFechafinal(): ?\DateTimeInterface
{
return $this->fechafinal;
}
public function setFechafinal(\DateTimeInterface $fechafinal): static
{
$this->fechafinal = $fechafinal;
return $this;
}
public function getLandlord(): ?Landlords
{
return $this->landlord;
}
public function setLandlord(?Landlords $landlord): static
{
$this->landlord = $landlord;
return $this;
}
public function getImporte(): ?float
{
return $this->importe;
}
public function setImporte(float $importe): static
{
$this->importe = $importe;
return $this;
}
public function getFecharegistro(): ?\DateTimeInterface
{
return $this->fecharegistro;
}
public function setFecharegistro(\DateTimeInterface $fecharegistro): static
{
$this->fecharegistro = $fecharegistro;
return $this;
}
public function isCerrada(): ?bool
{
return $this->cerrada;
}
public function setCerrada(bool $cerrada): static
{
$this->cerrada = $cerrada;
return $this;
}
public function getProperty(): ?PropertyList
{
return $this->property;
}
public function setProperty(?PropertyList $property): static
{
$this->property = $property;
return $this;
}
}