| 1 | <?php |
||
| 28 | class TramoParte |
||
| 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 | /** |
||
| 45 | * Get id |
||
| 46 | * |
||
| 47 | * @return integer |
||
| 48 | */ |
||
| 49 | public function getId() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Set descripcion |
||
| 56 | * |
||
| 57 | * @param string $descripcion |
||
| 58 | * @return TramoParte |
||
| 59 | */ |
||
| 60 | public function setDescripcion($descripcion) |
||
| 66 | |||
| 67 | /** |
||
| 68 | * Get descripcion |
||
| 69 | * |
||
| 70 | * @return string |
||
| 71 | */ |
||
| 72 | public function getDescripcion() |
||
| 76 | |||
| 77 | /** |
||
| 78 | * @return string |
||
| 79 | */ |
||
| 80 | public function __toString() |
||
| 84 | } |
||
| 85 |