|
@@ -1,19 +1,20 @@
|
|
|
package club.thepenguins.android.data;
|
|
|
|
|
|
public class Model {
|
|
|
- public String title, subtitle, Image, Content;
|
|
|
+ public String title, subtitle, Image, Content, author;
|
|
|
|
|
|
- public Model(String mtitle, String msubtitle, String image) {
|
|
|
-
|
|
|
- this.title = mtitle;
|
|
|
- this.subtitle = msubtitle;
|
|
|
+ public Model(String title, String subtitle, String image, String content) {
|
|
|
+ this.title = title;
|
|
|
+ this.subtitle = subtitle;
|
|
|
this.Image = image;
|
|
|
+ this.Content = content;
|
|
|
}
|
|
|
|
|
|
- public Model(String title, String subtitle, String image, String content) {
|
|
|
+ public Model(String title, String subtitle, String image, String content, String author) {
|
|
|
this.title = title;
|
|
|
this.subtitle = subtitle;
|
|
|
this.Image = image;
|
|
|
this.Content = content;
|
|
|
+ this.author = author;
|
|
|
}
|
|
|
}
|