<?php
namespace App\Entity;
use App\Repository\RecibosReparacionesRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: RecibosReparacionesRepository::class)]
class RecibosReparaciones
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: Types::DATE_MUTABLE)]
private ?\DateTimeInterface $fecha = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $fechaRegistro = null;
#[ORM\Column(length: 100)]
private ?string $nombre = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $descripcion = null;
#[ORM\ManyToOne(inversedBy: 'recibosReparaciones')]
#[ORM\JoinColumn(nullable: false)]
private ?PropertyList $property = null;
#[ORM\ManyToOne(inversedBy: 'recibosReparaciones')]
private ?RemesasRecibos $remesa = null;
#[ORM\Column]
private ?float $importe = null;
#[ORM\Column(length: 150, nullable: true)]
private ?string $empresaReparacion = null;
public function __toString(): string{
return " ";
}
public function getId(): ?int
{
return $this->id;
}
public function getFecha(): ?\DateTimeInterface
{
return $this->fecha;
}
public function setFecha(\DateTimeInterface $fecha): static
{
$this->fecha = $fecha;
return $this;
}
public function getFechaRegistro(): ?\DateTimeInterface
{
return $this->fechaRegistro;
}
public function setFechaRegistro(\DateTimeInterface $fechaRegistro): static
{
$this->fechaRegistro = $fechaRegistro;
return $this;
}
public function getNombre(): ?string
{
return $this->nombre;
}
public function setNombre(string $nombre): static
{
$this->nombre = $nombre;
return $this;
}
public function getDescripcion(): ?string
{
return $this->descripcion;
}
public function setDescripcion(string $descripcion): static
{
$this->descripcion = $descripcion;
return $this;
}
public function getProperty(): ?PropertyList
{
return $this->property;
}
public function setProperty(?PropertyList $property): static
{
$this->property = $property;
return $this;
}
public function getRemesa(): ?RemesasRecibos
{
return $this->remesa;
}
public function setRemesa(?RemesasRecibos $remesa): static
{
$this->remesa = $remesa;
return $this;
}
public function getImporte(): ?float
{
return $this->importe;
}
public function setImporte(float $importe): static
{
$this->importe = $importe;
return $this;
}
public function getEmpresaReparacion(): ?string
{
return $this->empresaReparacion;
}
public function setEmpresaReparacion(?string $empresaReparacion): static
{
$this->empresaReparacion = $empresaReparacion;
return $this;
}
}