src/Entity/Catalogos/Iconos.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Catalogos;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Iconos
  6.  *
  7.  * @ORM\Table(name="catalogos.iconos")
  8.  * @ORM\Entity
  9.  */
  10. class Iconos
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="SEQUENCE")
  18.      * @ORM\SequenceGenerator(sequenceName="catalogos.iconos_id_seq", allocationSize=1, initialValue=1)
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var string
  23.      *
  24.      * @ORM\Column(name="nombre", type="string", length=50, nullable=false)
  25.      */
  26.     private $nombre;
  27.         /**
  28.      * @var string
  29.      *
  30.      * @ORM\Column(name="clase", type="string", length=100, nullable=false)
  31.      */
  32.     private $clase;
  33.     /**
  34.      * @var int
  35.      *
  36.      * @ORM\Column(name="id_categoria", type="integer", nullable=false)
  37.      */
  38.     private $idCategoria;
  39.     /**
  40.      * @var bool
  41.      *
  42.      * @ORM\Column(name="activo", type="boolean", nullable=false)
  43.      */
  44.     private $activo;
  45.     public function getId(): ?int
  46.     {
  47.         return $this->id;
  48.     }
  49.     public function getNombre(): ?string
  50.     {
  51.         return $this->nombre;
  52.     }
  53.     public function setNombre(string $nombre): self
  54.     {
  55.         $this->nombre $nombre;
  56.         return $this;
  57.     }
  58.     public function getClase(): ?string
  59.     {
  60.         return $this->clase;
  61.     }
  62.     public function setClase(string $clase): self
  63.     {
  64.         $this->clase $clase;
  65.         return $this;
  66.     }
  67.     public function getIdCategoria(): ?int
  68.     {
  69.         return $this->idCategoria;
  70.     }
  71.     public function setIdCategoria(int $idCategoria): self
  72.     {
  73.         $this->idCategoria $idCategoria;
  74.         return $this;
  75.     }
  76.     public function getActivo(): ?bool
  77.     {
  78.         return $this->activo;
  79.     }
  80.     public function setActivo(bool $activo): self
  81.     {
  82.         $this->activo $activo;
  83.         return $this;
  84.     }
  85. }