|
@@ -34,6 +34,11 @@ public class Uda implements Serializable {
|
|
|
*/
|
|
|
private String district;
|
|
|
|
|
|
+ /**
|
|
|
+ * 具体地址
|
|
|
+ */
|
|
|
+ private String street;
|
|
|
+
|
|
|
/**
|
|
|
* 获取id
|
|
|
*
|
|
@@ -124,8 +129,32 @@ public class Uda implements Serializable {
|
|
|
this.district = district;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取地址
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public String getStreet(){
|
|
|
+ return street;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 设置地址
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public void setStreet(String street){
|
|
|
+ this.street = street;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
- return "Uda{" + "id=" + id + ", userId=" + userId + ", province='" + province + '\'' + ", city='" + city + '\'' + ", district='" + district + '\'' + '}';
|
|
|
+ return "Uda{" +
|
|
|
+ "id=" + id +
|
|
|
+ ", userId=" + userId +
|
|
|
+ ", province='" + province + '\'' +
|
|
|
+ ", city='" + city + '\'' +
|
|
|
+ ", district='" + district + '\'' +
|
|
|
+ ", street='" + street + '\'' +
|
|
|
+ '}';
|
|
|
}
|
|
|
}
|