Total Complexity | 5 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
14 | #[Table(name: 'stu_partnersite')] |
||
15 | #[Entity(repositoryClass: PartnerSiteRepository::class)] |
||
16 | class PartnerSite |
||
17 | { |
||
18 | #[Id] |
||
19 | #[Column(type: 'integer')] |
||
20 | #[GeneratedValue(strategy: 'IDENTITY')] |
||
21 | private int $id; |
||
22 | |||
23 | #[Column(type: 'string')] |
||
24 | private string $name = ''; |
||
25 | |||
26 | #[Column(type: 'string')] |
||
27 | private string $url = ''; |
||
28 | |||
29 | #[Column(type: 'text')] |
||
30 | private string $text = ''; |
||
31 | |||
32 | #[Column(type: 'string', length: 200)] |
||
33 | private string $banner = ''; |
||
34 | |||
35 | public function getId(): int |
||
36 | { |
||
37 | return $this->id; |
||
38 | } |
||
39 | |||
40 | public function getName(): string |
||
41 | { |
||
42 | return $this->name; |
||
43 | } |
||
44 | |||
45 | public function getUrl(): string |
||
46 | { |
||
47 | return $this->url; |
||
48 | } |
||
49 | |||
50 | public function getText(): string |
||
51 | { |
||
52 | return $this->text; |
||
53 | } |
||
54 | |||
55 | public function getBanner(): string |
||
58 | } |
||
59 | } |
||
60 |