|
|
@ -12,6 +12,7 @@ public class NewsBean extends DataSupport{ |
|
|
private String title; |
|
|
private String title; |
|
|
private String content; |
|
|
private String content; |
|
|
private String time; |
|
|
private String time; |
|
|
|
|
|
private int type; |
|
|
|
|
|
|
|
|
// public NewsBean(int id, String url, String title, String content, String time) { |
|
|
// public NewsBean(int id, String url, String title, String content, String time) { |
|
|
// this.id = id; |
|
|
// this.id = id; |
|
|
@ -21,6 +22,15 @@ public class NewsBean extends DataSupport{ |
|
|
// this.time = time; |
|
|
// this.time = time; |
|
|
// } |
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int getType() { |
|
|
|
|
|
return type; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setType(int type) { |
|
|
|
|
|
this.type = type; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public int getId() { |
|
|
public int getId() { |
|
|
return id; |
|
|
return id; |
|
|
} |
|
|
} |
|
|
@ -69,6 +79,7 @@ public class NewsBean extends DataSupport{ |
|
|
", title='" + title + '\'' + |
|
|
", title='" + title + '\'' + |
|
|
", content='" + content + '\'' + |
|
|
", content='" + content + '\'' + |
|
|
", time='" + time + '\'' + |
|
|
", time='" + time + '\'' + |
|
|
|
|
|
", type=" + type + |
|
|
'}'; |
|
|
'}'; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |