src/Asistencia/Entity/ItemEscala.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Asistencia\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Symfony\Component\Serializer\Annotation\Groups;
  5. /**
  6. * @ORM\Entity(repositoryClass="App\Asistencia\Repository\ItemEscalaRepository")
  7. */
  8. class ItemEscala
  9. {
  10. /**
  11. * @ORM\Id()
  12. * @ORM\GeneratedValue()
  13. * @ORM\Column(type="integer")
  14. * @Groups("main")
  15. */
  16. private $id;
  17. /**
  18. * @ORM\Column(type="string", length=100)
  19. * @Groups("main")
  20. */
  21. private $descripcion;
  22. public function getId(): ?int
  23. {
  24. return $this->id;
  25. }
  26. public function getDescripcion(): ?string
  27. {
  28. return $this->descripcion;
  29. }
  30. public function setDescripcion(string $descripcion): self
  31. {
  32. $this->descripcion = $descripcion;
  33. return $this;
  34. }
  35. }