| 1 | <?php |
||
| 13 | class DoctrineUserConnection |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Person ID uzivatele Skautisu |
||
| 18 | * |
||
| 19 | * @ORM\Id |
||
| 20 | * @ORM\Column(type="integer", unique=true, name="skautis_person_id") |
||
| 21 | * @var int |
||
| 22 | */ |
||
| 23 | protected $personId; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Username symfony uzivatele ktery je propojen se skautisem |
||
| 27 | * |
||
| 28 | * @ORM\Column(type="string", unique=true, name="username") |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | protected $username; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param int $id |
||
| 35 | */ |
||
| 36 | public function setPersonId($id) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return int |
||
| 43 | */ |
||
| 44 | public function getPersonId() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param string $username |
||
| 51 | */ |
||
| 52 | public function setUsername($username) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return string |
||
| 59 | */ |
||
| 60 | public function getUsername() |
||
| 64 | } |
||
| 65 |