| 1 | <?php |
||
| 13 | class Subscriber |
||
| 14 | { |
||
| 15 | use AttributedEntityTrait; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @ORM\Id |
||
| 19 | * @ORM\Column(type="integer") |
||
| 20 | * @ORM\GeneratedValue(strategy="AUTO") |
||
| 21 | * |
||
| 22 | * @var int |
||
| 23 | */ |
||
| 24 | protected $id; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | * |
||
| 29 | * @ORM\Column(type="string", nullable=true) |
||
| 30 | */ |
||
| 31 | protected $name; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getName() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $name |
||
| 43 | * |
||
| 44 | * @return $this |
||
| 45 | */ |
||
| 46 | public function setName($name) |
||
| 52 | } |
||
| 53 |