1 | <?php |
||
14 | class User |
||
15 | { |
||
16 | /** |
||
17 | * @return mixed |
||
18 | */ |
||
19 | public function getId() |
||
20 | { |
||
21 | return $this->id; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param mixed $id |
||
26 | * @return User |
||
27 | */ |
||
28 | public function setId($id) |
||
33 | |||
34 | /** |
||
35 | * @return int |
||
36 | */ |
||
37 | public function getChatId() |
||
41 | |||
42 | /** |
||
43 | * @param int $chatId |
||
44 | * @return User |
||
45 | */ |
||
46 | public function setChatId($chatId) |
||
51 | /** |
||
52 | * @ORM\Id |
||
53 | * @ORM\Column(type="integer") |
||
54 | * @ORM\GeneratedValue(strategy="AUTO") |
||
55 | */ |
||
56 | protected $id; |
||
57 | |||
58 | /** |
||
59 | * @var integer |
||
60 | * |
||
61 | * @ORM\Column(name="chat_id", type="bigint", nullable="false") |
||
62 | */ |
||
63 | protected $chatId; |
||
64 | } |
||
65 |