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/Register.java | 108 +++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 95 insertions(+), 13 deletions(-)
diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Register.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Register.java
index e450e70..a28241b 100644
--- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Register.java
+++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Register.java
@@ -26,7 +26,7 @@
/**
* 浜哄憳鍚嶉瀛楁瘝
*/
- public static final String nameSpell = "nameSpell";
+ public static final String nameEn = "nameEn";
/**
* 鎬у埆
*/
@@ -83,6 +83,22 @@
* 鍗遍櫓浜哄憳璀﹀憡娑堟伅
*/
public static final String warning = "warning";
+ /**
+ * 璇佷欢鐓�
+ */
+ public static final String idCardPhoto = "idCardPhoto";
+ /**
+ * 涓婁紶鑷畾涔夌収鐗�
+ */
+ public static final String uploadCustomPhoto = "uploadCustomPhoto";
+ /**
+ * 鐩戞帶鍥剧墖
+ */
+ public static final String surveillancePhoto = "surveillancePhoto";
+ /**
+ * 鐩戞帶鍥剧墖id
+ */
+ public static final String surveillancePhotoId = "surveillancePhotoId";
}
// 浜哄憳涓婚敭
@@ -90,7 +106,7 @@
// 浜哄憳鍚嶅瓧
private String username;
// 浜哄憳鍚嶉瀛楁瘝
- private String nameSpell;
+ private String nameEn;
// 鎬у埆
private String genderId;
// 鍥界睄
@@ -119,6 +135,14 @@
private String remark;
// 鍗遍櫓浜哄憳璀﹀憡娑堟伅
private String warning;
+ // 璇佷欢鐓�
+ private String idCardPhoto;
+ // 涓婁紶鑷畾涔夌収鐗�
+ private String uploadCustomPhoto;
+ // 鐩戞帶鍥剧墖
+ private String surveillancePhoto;
+ // 鐩戞帶鍥剧墖id
+ private String surveillancePhotoId;
/**
* Get 浜哄憳涓婚敭
@@ -151,15 +175,15 @@
/**
* Get 浜哄憳鍚嶉瀛楁瘝
*/
- public String getNameSpell() {
- return nameSpell;
+ public String getNameEn() {
+ return nameEn;
}
/**
* Set 浜哄憳鍚嶉瀛楁瘝
*/
- public void setNameSpell(String nameSpell) {
- this.nameSpell = nameSpell;
+ public void setNameEn(String nameEn) {
+ this.nameEn = nameEn;
}
/**
@@ -358,13 +382,71 @@
this.warning = warning;
}
+ /**
+ * Get 璇佷欢鐓�
+ */
+ public String getIdCardPhoto() {
+ return idCardPhoto;
+ }
+
+ /**
+ * Set 璇佷欢鐓�
+ */
+ public void setIdCardPhoto(String idCardPhoto) {
+ this.idCardPhoto = idCardPhoto;
+ }
+
+ /**
+ * Get 涓婁紶鑷畾涔夌収鐗�
+ */
+ public String getUploadCustomPhoto() {
+ return uploadCustomPhoto;
+ }
+
+ /**
+ * Set 涓婁紶鑷畾涔夌収鐗�
+ */
+ public void setUploadCustomPhoto(String uploadCustomPhoto) {
+ this.uploadCustomPhoto = uploadCustomPhoto;
+ }
+
+ /**
+ * Get 鐩戞帶鍥剧墖
+ */
+ public String getSurveillancePhoto() {
+ return surveillancePhoto;
+ }
+
+ /**
+ * Set 鐩戞帶鍥剧墖
+ */
+ public void setSurveillancePhoto(String surveillancePhoto) {
+ this.surveillancePhoto = surveillancePhoto;
+ }
+
+ /**
+ * Get 鐩戞帶鍥剧墖id
+ */
+ public String getSurveillancePhotoId() {
+ return surveillancePhotoId;
+ }
+
+ /**
+ * Set 鐩戞帶鍥剧墖id
+ */
+ public void setSurveillancePhotoId(String surveillancePhotoId) {
+ this.surveillancePhotoId = surveillancePhotoId;
+ }
+
public String toString() {
- return
- ",浜哄憳涓婚敭 =" + registerId + ",浜哄憳鍚嶅瓧 =" + username + ",浜哄憳鍚嶉瀛楁瘝 ="+ nameSpell +
- ",鎬у埆 =" + genderId + ",鍥界睄 =" + countryId + ",鐪� =" + province +
- ",甯� =" + city + ",鍑虹敓鏃ユ湡 =" + birthday + ",搴ф満鐢佃瘽 =" + tel +
- ",绉诲姩鐢佃瘽 =" + mobilePhone + ",璇佷欢绫诲瀷 =" + identityTypeId + ",璇佷欢缂栧彿 =" + identifyNum +
- ",鍏徃涓婚敭 =" + companyId + ",閮ㄩ棬涓婚敭 =" + departmentId + ",鑱屽姟涓婚敭 =" + postId +
- ",浜哄憳澶囨敞娑堟伅 ="+ remark + ",鍗遍櫓浜哄憳璀﹀憡娑堟伅 ="+ warning ;
+ return
+ ",浜哄憳涓婚敭 =" + registerId + ",浜哄憳鍚嶅瓧 =" + username + ",浜哄憳鍚嶉瀛楁瘝 ="+ nameEn +
+ ",鎬у埆 =" + genderId + ",鍥界睄 =" + countryId + ",鐪� =" + province +
+ ",甯� =" + city + ",鍑虹敓鏃ユ湡 =" + birthday + ",搴ф満鐢佃瘽 =" + tel +
+ ",绉诲姩鐢佃瘽 =" + mobilePhone + ",璇佷欢绫诲瀷 =" + identityTypeId + ",璇佷欢缂栧彿 =" + identifyNum +
+ ",鍏徃涓婚敭 =" + companyId + ",閮ㄩ棬涓婚敭 =" + departmentId + ",鑱屽姟涓婚敭 =" + postId +
+ ",浜哄憳澶囨敞娑堟伅 ="+ remark + ",鍗遍櫓浜哄憳璀﹀憡娑堟伅 ="+ warning + ",璇佷欢鐓� =" + idCardPhoto +
+ ",涓婁紶鑷畾涔夌収鐗� ="+ uploadCustomPhoto + ",鐩戞帶鍥剧墖 =" + surveillancePhoto + ",鐩戞帶鍥剧墖id ="+ surveillancePhotoId
+ ;
}
}
--
Gitblit v1.8.0