|
@@ -28,9 +28,7 @@ public class UserVO implements Serializable {
|
|
|
private String email;
|
|
|
private String mobile;
|
|
|
private String password;
|
|
|
- @JsonIgnore
|
|
|
private String province;
|
|
|
- @JsonIgnore
|
|
|
private String city;
|
|
|
private String photoUrl;
|
|
|
private Double allProjectPrice;
|
|
@@ -43,10 +41,9 @@ public class UserVO implements Serializable {
|
|
|
private String address;
|
|
|
|
|
|
|
|
|
-
|
|
|
public UserVO(User user) {
|
|
|
BeanUtils.copyProperties(user, this);
|
|
|
- this.address=this.province+this.city;
|
|
|
+ this.address = this.province + this.city;
|
|
|
this.password = "********";
|
|
|
if (user.getEvaluationAgency() != null) {
|
|
|
this.authType = "agency";
|