<?php
namespace App\Entity;
use App\Repository\RecibosGestionRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: RecibosGestionRepository::class)]
class RecibosGestion
{
#[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: 'recibosGestions')]
private ?PropertyList $property = null;
#[ORM\Column]
private ?float $importe = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $fecharegistro = null;
#[ORM\Column(length: 255)]
private ?string $observaciones = null;
#[ORM\ManyToOne(inversedBy: 'recibosGestions')]
private ?RemesasRecibos $remesaRecibo = null;
#[ORM\Column(length: 30, nullable: true)]
private ?string $numFactura = null;
private bool $checkRecibo=false;
#[ORM\ManyToOne(inversedBy: 'recibosGestions')]
private ?Landlords $landlord = null;
public function __toString(): string{
return " ";
}
public function getCheckRecibo(){ return $this->checkRecibo ?? false; }
public function setCheckRecibo(bool $checkRecibo){ $this->checkRecibo=$checkRecibo ?? false; }
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 getProperty(): ?PropertyList
{
return $this->property;
}
public function setProperty(?PropertyList $property): static
{
$this->property = $property;
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 getObservaciones(): ?string
{
return $this->observaciones;
}
public function setObservaciones(string $observaciones): static
{
$this->observaciones = $observaciones;
return $this;
}
public function getRemesaRecibo(): ?RemesasRecibos
{
return $this->remesaRecibo;
}
public function setRemesaRecibo(?RemesasRecibos $remesaRecibo): static
{
$this->remesaRecibo = $remesaRecibo;
return $this;
}
public function getNumFactura(): ?string
{
return $this->numFactura;
}
public function setNumFactura(?string $numFactura): static
{
$this->numFactura = $numFactura;
return $this;
}
public function getLandlord(): ?Landlords
{
return $this->landlord;
}
public function setLandlord(?Landlords $landlord): static
{
$this->landlord = $landlord;
return $this;
}
}