| 1 | <?php |
||
| 28 | class Categoria |
||
| 29 | { |
||
| 30 | /** |
||
| 31 | * @ORM\Id |
||
| 32 | * @ORM\Column(type="integer") |
||
| 33 | * @ORM\GeneratedValue |
||
| 34 | */ |
||
| 35 | protected $id; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @ORM\Column(type="string") |
||
| 39 | * @var string |
||
| 40 | */ |
||
| 41 | protected $descripcion; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @ORM\Column(type="integer", nullable=true) |
||
| 45 | * @var int |
||
| 46 | */ |
||
| 47 | protected $nivel; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Get id |
||
| 51 | * |
||
| 52 | * @return integer |
||
| 53 | */ |
||
| 54 | public function getId() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Set descripcion |
||
| 61 | * |
||
| 62 | * @param string $descripcion |
||
| 63 | * @return Categoria |
||
| 64 | */ |
||
| 65 | public function setDescripcion($descripcion) |
||
| 71 | |||
| 72 | /** |
||
| 73 | * Get descripcion |
||
| 74 | * |
||
| 75 | * @return string |
||
| 76 | */ |
||
| 77 | public function getDescripcion() |
||
| 81 | |||
| 82 | /** |
||
| 83 | * Set nivel |
||
| 84 | * |
||
| 85 | * @param integer $nivel |
||
| 86 | * @return Categoria |
||
| 87 | */ |
||
| 88 | public function setNivel($nivel) |
||
| 94 | |||
| 95 | /** |
||
| 96 | * Get nivel |
||
| 97 | * |
||
| 98 | * @return integer|null |
||
| 99 | */ |
||
| 100 | public function getNivel() |
||
| 104 | } |
||
| 105 |