Total Complexity | 5 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
13 | #[Table(name: 'stu_map_regions_settlement')] |
||
14 | #[Entity] |
||
15 | class MapRegionSettlement |
||
16 | { |
||
17 | #[Id] |
||
18 | #[Column(type: 'integer')] |
||
19 | #[GeneratedValue(strategy: 'IDENTITY')] |
||
20 | private int $id; |
||
21 | |||
22 | #[Column(type: 'integer')] |
||
23 | private int $region_id; |
||
24 | |||
25 | #[Column(type: 'integer')] |
||
26 | private int $faction_id; |
||
27 | |||
28 | public function getId(): int |
||
29 | { |
||
30 | return $this->id; |
||
31 | } |
||
32 | |||
33 | public function setRegionId(int $region_id): MapRegionSettlement |
||
34 | { |
||
35 | $this->region_id = $region_id; |
||
36 | |||
37 | return $this; |
||
38 | } |
||
39 | |||
40 | public function getRegionId(): int |
||
41 | { |
||
42 | return $this->region_id; |
||
43 | } |
||
44 | |||
45 | public function setFactionId(int $faction_id): MapRegionSettlement |
||
50 | } |
||
51 | |||
52 | public function getFactionId(): int |
||
53 | { |
||
57 |