<?php
namespace App\Asistencia\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Serializer\Annotation\Groups;
/**
* @ORM\Entity(repositoryClass="App\Asistencia\Repository\ItemEscalaRepository")
*/
class ItemEscala
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
* @Groups("main")
*/
private $id;
/**
* @ORM\Column(type="string", length=100)
* @Groups("main")
*/
private $descripcion;
public function getId(): ?int
{
return $this->id;
}
public function getDescripcion(): ?string
{
return $this->descripcion;
}
public function setDescripcion(string $descripcion): self
{
$this->descripcion = $descripcion;
return $this;
}
}