From ec544e9cc330ce40aeb78e96aa362e245feecd4d Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期五, 21 七月 2017 15:03:34 +0800 Subject: [PATCH] --- VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Post.java | 60 +++++++++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 47 insertions(+), 13 deletions(-) diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Post.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Post.java index 537794e..21c3810 100644 --- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Post.java +++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Post.java @@ -17,48 +17,82 @@ /** * 鑱屼綅涓婚敭 */ - public static final String id = "id"; + public static final String postId = "postId"; /** * 鑱屼綅鍚嶇О */ - public static final String label = "label"; + public static final String postName = "postName"; + + /** + * 鍚屾鏃堕棿 + */ + public static final String updateTime="update_time"; + + /** + * 鏄惁鍚屾 + */ + public static final String isSynchron="is_synchron"; } // 鑱屼綅涓婚敭 - private Integer id; + private String postId; // 鑱屼綅鍚嶇О - private String label; + private String postName; + + //鍚屾鏃堕棿 + private String updateTime; + + //鏄惁鍚屾 + private String isSynchron; + + + public String getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(String updateTime) { + this.updateTime = updateTime; + } + + public String getIsSynchron() { + return isSynchron; + } + + public void setIsSynchron(String isSynchron) { + this.isSynchron = isSynchron; + } + /** * Get 鑱屼綅涓婚敭 */ - public Integer getId() { - return id; + public String getPostId() { + return postId; } /** * Set 鑱屼綅涓婚敭 */ - public void setId(Integer id) { - this.id = id; + public void setPostId(String postId) { + this.postId = postId; } /** * Get 鑱屼綅鍚嶇О */ - public String getLabel() { - return label; + public String getPostName() { + return postName; } /** * Set 鑱屼綅鍚嶇О */ - public void setLabel(String label) { - this.label = label; + public void setPostName(String postName) { + this.postName = postName; } public String toString() { return - ",鑱屼綅涓婚敭 =" + id + ",鑱屼綅鍚嶇О =" + label ; + ",鑱屼綅涓婚敭 =" + postId + ",鑱屼綅鍚嶇О =" + postName ; } } -- Gitblit v1.8.0