<?php
namespace App\Entity\Mantenimiento;
use App\Repository\Mantenimiento\SolicitantePedidoReparacionRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=SolicitantePedidoReparacionRepository::class)
* @ORM\Table(name="mant_solicitante_pedido_reparacion")
*/
class SolicitantePedidoReparacion
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $nombre;
/**
* @ORM\Column(type="boolean")
*/
private $activo = true;
public function __toString()
{
return $this->nombre;
}
public function isActivo(): ?bool
{
return $this->activo;
}
public function setActivo(bool $activo): self
{
$this->activo = $activo;
return $this;
}
public function getId(): ?int
{
return $this->id;
}
public function getNombre(): ?string
{
return $this->nombre;
}
public function setNombre(string $nombre): self
{
$this->nombre = $nombre;
return $this;
}
}