From 1a10d546c76f474d33e23c5958c08aa0afcdae67 Mon Sep 17 00:00:00 2001 From: sujinwen <sujinwen@454eff88-639b-444f-9e54-f578c98de674> Date: 星期一, 24 七月 2017 11:46:45 +0800 Subject: [PATCH] --- VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Post.java | 68 +++++++++++++++++++++++++++++++++- 1 files changed, 66 insertions(+), 2 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 f8cb428..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,12 +23,30 @@ * 鑱屼綅鍚嶇О */ public static final String postName = "postName"; + /** + * 鍚屾鏃堕棿 + */ + public static final String updateTime = "updateTime"; + /** + * 鏄惁鍚屾 + */ + public static final String isSynchron = "isSynchron"; + /** + * 璁惧鎵�鍦ㄦ満鏋刬d + */ + public static final String deviceCompanyId = "deviceCompanyId"; } // 鑱屼綅涓婚敭 private String postId; // 鑱屼綅鍚嶇О private String postName; + // 鍚屾鏃堕棿 + private String updateTime; + // 鏄惁鍚屾 + private String isSynchron; + // 璁惧鎵�鍦ㄦ満鏋刬d + private String deviceCompanyId; /** * Get 鑱屼綅涓婚敭 @@ -57,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