From 4be1921ca763196ffce68d73b57d01bc6a5e3827 Mon Sep 17 00:00:00 2001 From: sujinwen <sujinwen@454eff88-639b-444f-9e54-f578c98de674> Date: 星期二, 25 七月 2017 11:00:33 +0800 Subject: [PATCH] --- VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Post.java | 94 +++++++++++++++++++++++++++-------------------- 1 files changed, 54 insertions(+), 40 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 85eed61..3384bf2 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 @@ -1,11 +1,12 @@ package cn.com.basic.face.discern.entity; import java.io.Serializable; +import java.util.Date; import cn.com.basic.face.discern.common.BaseEntity; /** - * Post + * 鍚戜笅 */ public class Post extends BaseEntity implements Serializable { @@ -22,62 +23,30 @@ * 鑱屼綅鍚嶇О */ public static final String postName = "postName"; - /** * 鍚屾鏃堕棿 */ - public static final String updateTime="update_time"; - + public static final String updateTime = "updateTime"; /** * 鏄惁鍚屾 */ - public static final String isSynchron="is_synchron"; - + public static final String isSynchron = "isSynchron"; /** * 璁惧鎵�鍦ㄦ満鏋刬d */ - private static final String deviceCompanyId="device_company_id"; + public static final String deviceCompanyId = "deviceCompanyId"; } // 鑱屼綅涓婚敭 private String postId; // 鑱屼綅鍚嶇О private String postName; - - //鍚屾鏃堕棿 + // 鍚屾鏃堕棿 private String updateTime; - - //鏄惁鍚屾 + // 鏄惁鍚屾 private String isSynchron; - - - //璁惧鎵�鍦ㄦ満鏋刬d + // 璁惧鎵�鍦ㄦ満鏋刬d private String deviceCompanyId; - - public String getDeviceCompanyId() { - return deviceCompanyId; - } - - public void setDeviceCompanyId(String deviceCompanyId) { - this.deviceCompanyId = deviceCompanyId; - } - - 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 鑱屼綅涓婚敭 @@ -107,8 +76,53 @@ this.postName = postName; } + /** + * Get 鍚屾鏃堕棿 + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Set 鍚屾鏃堕棿 + */ + public void setUpdateTime(String updateTime) { + this.updateTime = updateTime; + } + + /** + * Get 鏄惁鍚屾 + * 锛孻--宸插悓姝ワ紝N--鏈悓姝� + */ + public String getIsSynchron() { + return isSynchron; + } + + /** + * Set 鏄惁鍚屾 + * 锛孻--宸插悓姝ワ紝N--鏈悓姝� + */ + public void setIsSynchron(String isSynchron) { + this.isSynchron = isSynchron; + } + + /** + * Get 璁惧鎵�鍦ㄦ満鏋刬d + */ + public String getDeviceCompanyId() { + return deviceCompanyId; + } + + /** + * Set 璁惧鎵�鍦ㄦ満鏋刬d + */ + public void setDeviceCompanyId(String deviceCompanyId) { + this.deviceCompanyId = deviceCompanyId; + } + public String toString() { return - ",鑱屼綅涓婚敭 =" + postId + ",鑱屼綅鍚嶇О =" + postName ; + ",鑱屼綅涓婚敭 =" + postId + ",鑱屼綅鍚嶇О =" + postName + ",鍚屾鏃堕棿 =" + updateTime + + ",鏄惁鍚屾 =" + isSynchron + ",璁惧鎵�鍦ㄦ満鏋刬d ="+ deviceCompanyId; } } -- Gitblit v1.8.0