src/Entity/App.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Entity
  6. */
  7. class App extends \App\Entity\BaseEntity
  8. {
  9. /**
  10. * @ORM\Id
  11. * @ORM\Column(type="integer")
  12. * @ORM\GeneratedValue(strategy="AUTO")
  13. */
  14. private $id;
  15. /**
  16. * @ORM\Column(type="string", nullable=true)
  17. */
  18. private $nombre;
  19. public function getId(): ?int
  20. {
  21. return $this->id;
  22. }
  23. public function setId($id)
  24. {
  25. $this->id = $id;
  26. return $this;
  27. }
  28. public function getNombre(): ?string
  29. {
  30. return $this->nombre;
  31. }
  32. public function setNombre(?string $nombre): static
  33. {
  34. $this->nombre = $nombre;
  35. return $this;
  36. }
  37. }