浏览代码

上传文件

陈士柏 2 年之前
父节点
当前提交
c5f1a6c322
共有 1 个文件被更改,包括 77 次插入0 次删除
  1. 77 0
      mhotel/src/com/happy/Model/app/News.java

+ 77 - 0
mhotel/src/com/happy/Model/app/News.java

@@ -0,0 +1,77 @@
+package com.happy.Model.app;
+
+public class News {
+
+    public int id;
+    public String title;
+    public String author;
+    public String digest;
+    public String content;
+    public String content_source_url;
+    public String url;
+    public String update_time;
+
+    public int getId() {
+        return id;
+    }
+
+    public void setId(int id) {
+        this.id = id;
+    }
+
+    public String getTitle() {
+        return title;
+    }
+
+    public void setTitle(String title) {
+        this.title = title;
+    }
+
+    public String getAuthor() {
+        return author;
+    }
+
+    public void setAuthor(String author) {
+        this.author = author;
+    }
+
+    public String getDigest() {
+        return digest;
+    }
+
+    public void setDigest(String digest) {
+        this.digest = digest;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content;
+    }
+
+    public String getContent_source_url() {
+        return content_source_url;
+    }
+
+    public void setContent_source_url(String content_source_url) {
+        this.content_source_url = content_source_url;
+    }
+
+    public String getUrl() {
+        return url;
+    }
+
+    public void setUrl(String url) {
+        this.url = url;
+    }
+
+    public String getUpdate_time() {
+        return update_time;
+    }
+
+    public void setUpdate_time(String update_time) {
+        this.update_time = update_time;
+    }
+}