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 | 48 ++++++++++++++++++++++++++++++++++--------------
1 files changed, 34 insertions(+), 14 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 3513b49..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 Integer id;
+ private String dictId;
// 缂栫爜
private String sn;
// 鍚嶇О
@@ -53,24 +57,26 @@
// 绫诲瀷
private String type;
// 鎺掑簭
- private Integer orderBy;
+ private String orderBy;
// 鐖剁骇id
- private Integer pid;
+ private String pid;
// 澶囨敞
private String remark;
+ // 鍏徃涓婚敭
+ private String compnayId;
/**
* Get 涓婚敭
*/
- public Integer getId() {
- return id;
+ public String getDictId() {
+ return dictId;
}
/**
* Set 涓婚敭
*/
- public void setId(Integer id) {
- this.id = id;
+ public void setDictId(String dictId) {
+ this.dictId = dictId;
}
/**
@@ -118,28 +124,28 @@
/**
* Get 鎺掑簭
*/
- public Integer getOrderBy() {
+ public String getOrderBy() {
return orderBy;
}
/**
* Set 鎺掑簭
*/
- public void setOrderBy(Integer orderBy) {
+ public void setOrderBy(String orderBy) {
this.orderBy = orderBy;
}
/**
* Get 鐖剁骇id
*/
- public Integer getPid() {
+ public String getPid() {
return pid;
}
/**
* Set 鐖剁骇id
*/
- public void setPid(Integer pid) {
+ public void setPid(String pid) {
this.pid = pid;
}
@@ -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