1 | <?php |
||
10 | class Team |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @var int |
||
15 | */ |
||
16 | public $id; |
||
17 | |||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | public $country_id; |
||
22 | |||
23 | /** |
||
24 | * @var int |
||
25 | */ |
||
26 | public $goals; |
||
27 | |||
28 | /** |
||
29 | * @var int |
||
30 | */ |
||
31 | public $penalty_goals; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | public $service; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | public $short_name; |
||
42 | |||
43 | /** |
||
44 | * @return int |
||
45 | */ |
||
46 | public function getId(): int |
||
50 | |||
51 | /** |
||
52 | * @param int $id |
||
53 | * |
||
54 | * @return Team |
||
55 | */ |
||
56 | public function setId(int $id): Team |
||
61 | |||
62 | /** |
||
63 | * @return int |
||
64 | */ |
||
65 | public function getCountryId(): int |
||
69 | |||
70 | /** |
||
71 | * @param int $country_id |
||
72 | * |
||
73 | * @return Team |
||
74 | */ |
||
75 | public function setCountryId(int $country_id): Team |
||
80 | |||
81 | /** |
||
82 | * @return int |
||
83 | */ |
||
84 | public function getGoals(): int |
||
88 | |||
89 | /** |
||
90 | * @param int $goals |
||
91 | * |
||
92 | * @return Team |
||
93 | */ |
||
94 | public function setGoals(int $goals): Team |
||
99 | |||
100 | /** |
||
101 | * @return int |
||
102 | */ |
||
103 | public function getPenaltyGoals(): int |
||
107 | |||
108 | /** |
||
109 | * @param int $penalty_goals |
||
110 | * |
||
111 | * @return Team |
||
112 | */ |
||
113 | public function setPenaltyGoals(int $penalty_goals): Team |
||
118 | |||
119 | /** |
||
120 | * @return string |
||
121 | */ |
||
122 | public function getService(): string |
||
126 | |||
127 | /** |
||
128 | * @param string $service |
||
129 | * |
||
130 | * @return Team |
||
131 | */ |
||
132 | public function setService(string $service): Team |
||
137 | |||
138 | /** |
||
139 | * @return string |
||
140 | */ |
||
141 | public function getShortName(): string |
||
145 | |||
146 | /** |
||
147 | * @param string $short_name |
||
148 | * |
||
149 | * @return Team |
||
150 | */ |
||
151 | public function setShortName(string $short_name): Team |
||
156 | |||
157 | } |
||
158 |