1 | <?php |
||
5 | class Artist extends BaseModel |
||
6 | { |
||
7 | /** |
||
8 | * Identifier |
||
9 | * |
||
10 | * @var string |
||
11 | */ |
||
12 | protected $id; |
||
13 | |||
14 | /** |
||
15 | * Artist Name |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $name; |
||
20 | |||
21 | /** |
||
22 | * Image URL |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $image; |
||
27 | |||
28 | /** |
||
29 | * Artist Type |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $type; |
||
34 | |||
35 | /** |
||
36 | * URI to data source |
||
37 | * |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $uri; |
||
41 | |||
42 | /** |
||
43 | * @return string |
||
44 | */ |
||
45 | public function getId() |
||
49 | |||
50 | /** |
||
51 | * @param string $id |
||
52 | * |
||
53 | * @return Artist |
||
54 | */ |
||
55 | 5 | public function setId($id) |
|
56 | { |
||
57 | 5 | $this->id = $id; |
|
58 | |||
59 | 5 | return $this; |
|
60 | } |
||
61 | |||
62 | /** |
||
63 | * @return string |
||
64 | */ |
||
65 | public function getName() |
||
69 | |||
70 | /** |
||
71 | * @param string $name |
||
72 | * |
||
73 | * @return Artist |
||
74 | */ |
||
75 | 5 | public function setName($name) |
|
76 | { |
||
77 | 5 | $this->name = $name; |
|
78 | |||
79 | 5 | return $this; |
|
80 | } |
||
81 | |||
82 | /** |
||
83 | * @return string |
||
84 | */ |
||
85 | public function getImage() |
||
89 | |||
90 | /** |
||
91 | * @param string $image |
||
92 | * |
||
93 | * @return Artist |
||
94 | */ |
||
95 | public function setImage($image) |
||
101 | |||
102 | /** |
||
103 | * @return string |
||
104 | */ |
||
105 | public function getType() |
||
109 | |||
110 | /** |
||
111 | * @param string $type |
||
112 | * |
||
113 | * @return Artist |
||
114 | */ |
||
115 | 5 | public function setType($type) |
|
116 | { |
||
117 | 5 | $this->type = $type; |
|
118 | |||
119 | 5 | return $this; |
|
120 | } |
||
121 | |||
122 | /** |
||
123 | * @return string |
||
124 | */ |
||
125 | public function getUri() |
||
129 | |||
130 | /** |
||
131 | * @param string $uri |
||
132 | * |
||
133 | * @return Artist |
||
134 | */ |
||
135 | 3 | public function setUri($uri) |
|
141 | } |