From 52bd84663ef5bff417588dccd324937d506b9d95 Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 27 四月 2017 18:38:13 +0800
Subject: [PATCH] optimize
---
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Dictionary.java | 36 ++++++++++++++++++++++++++++--------
1 files changed, 28 insertions(+), 8 deletions(-)
diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Dictionary.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Dictionary.java
index 19cc0f0..53a385f 100644
--- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Dictionary.java
+++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Dictionary.java
@@ -17,7 +17,7 @@
/**
* 涓婚敭
*/
- public static final String id = "id";
+ public static final String dictId = "dictId";
/**
* 缂栫爜
*/
@@ -42,10 +42,14 @@
* 澶囨敞
*/
public static final String remark = "remark";
+ /**
+ * 鍏徃涓婚敭
+ */
+ public static final String compnayId = "compnayId";
}
// 涓婚敭
- private String id;
+ private String dictId;
// 缂栫爜
private String sn;
// 鍚嶇О
@@ -58,19 +62,21 @@
private String pid;
// 澶囨敞
private String remark;
+ // 鍏徃涓婚敭
+ private String compnayId;
/**
* Get 涓婚敭
*/
- public String getId() {
- return id;
+ public String getDictId() {
+ return dictId;
}
/**
* Set 涓婚敭
*/
- public void setId(String id) {
- this.id = id;
+ public void setDictId(String dictId) {
+ this.dictId = dictId;
}
/**
@@ -157,10 +163,24 @@
this.remark = remark;
}
+ /**
+ * Get 鍏徃涓婚敭
+ */
+ public String getCompnayId() {
+ return compnayId;
+ }
+
+ /**
+ * Set 鍏徃涓婚敭
+ */
+ public void setCompnayId(String compnayId) {
+ this.compnayId = compnayId;
+ }
+
public String toString() {
return
- ",涓婚敭 =" + id + ",缂栫爜 =" + sn + ",鍚嶇О =" + name +
+ ",涓婚敭 =" + dictId + ",缂栫爜 =" + sn + ",鍚嶇О =" + name +
",绫诲瀷 =" + type + ",鎺掑簭 =" + orderBy + ",鐖剁骇id =" + pid +
- ",澶囨敞 =" + remark ;
+ ",澶囨敞 =" + remark + ",鍏徃涓婚敭 =" + compnayId ;
}
}
--
Gitblit v1.8.0