增加了toString方法用于打印

This commit is contained in:
董宏宇
2020-01-08 14:38:15 +08:00
parent 88ff8f7eac
commit 3f89696eed
13 changed files with 126 additions and 0 deletions

View File

@@ -27,4 +27,11 @@ public class MarkerActivitiesScope {
this.isCheck = isCheck;
}
@Override
public String toString() {
return "MarkerActivitiesScope{" +
"content='" + content + '\'' +
", isCheck=" + isCheck +
'}';
}
}

View File

@@ -37,4 +37,12 @@ public class MarkerCarChat {
this.userInfo = userInfo;
}
@Override
public String toString() {
return "MarkerCarChat{" +
"location=" + location +
", type='" + type + '\'' +
", userInfo=" + userInfo +
'}';
}
}

View File

@@ -27,4 +27,11 @@ public class MarkerCarInfo {
this.carTypeName = carTypeName;
}
@Override
public String toString() {
return "MarkerCarInfo{" +
"carBrandLogoUrl='" + carBrandLogoUrl + '\'' +
", carTypeName='" + carTypeName + '\'' +
'}';
}
}

View File

@@ -48,4 +48,13 @@ public class MarkerCardResult {
this.shareMusic = shareMusic;
}
@Override
public String toString() {
return "MarkerCardResult{" +
"carChat=" + carChat +
", exploreWay=" + exploreWay +
", onlineCar=" + onlineCar +
", shareMusic=" + shareMusic +
'}';
}
}

View File

@@ -37,4 +37,12 @@ public class MarkerDynamicData {
this.type = type;
}
@Override
public String toString() {
return "MarkerDynamicData{" +
"id=" + id +
", name='" + name + '\'' +
", type=" + type +
'}';
}
}

View File

@@ -128,4 +128,21 @@ public class MarkerExploreWay {
this.userInfo = userInfo;
}
@Override
public String toString() {
return "MarkerExploreWay{" +
"addr='" + addr + '\'' +
", canLive=" + canLive +
", cityName='" + cityName + '\'' +
", direction=" + direction +
", distance=" + distance +
", fileType=" + fileType +
", generateTime=" + generateTime +
", items=" + items +
", location=" + location +
", sn='" + sn + '\'' +
", type='" + type + '\'' +
", userInfo=" + userInfo +
'}';
}
}

View File

@@ -27,4 +27,11 @@ public class MarkerExploreWayItem {
this.url = url;
}
@Override
public String toString() {
return "MarkerExploreWayItem{" +
"thumbnail='" + thumbnail + '\'' +
", url='" + url + '\'' +
'}';
}
}

View File

@@ -27,4 +27,11 @@ public class MarkerHobbyDatum {
this.isCheck = isCheck;
}
@Override
public String toString() {
return "MarkerHobbyDatum{" +
"content='" + content + '\'' +
", isCheck=" + isCheck +
'}';
}
}

View File

@@ -47,4 +47,13 @@ public class MarkerLocation {
this.lon = lon;
}
@Override
public String toString() {
return "MarkerLocation{" +
"address='" + address + '\'' +
", angle=" + angle +
", lat=" + lat +
", lon=" + lon +
'}';
}
}

View File

@@ -98,4 +98,18 @@ public class MarkerOnlineCar {
this.userInfo = userInfo;
}
@Override
public String toString() {
return "MarkerOnlineCar{" +
"activitiesScope=" + activitiesScope +
", carInfo=" + carInfo +
", compatibility='" + compatibility + '\'' +
", dynamicData=" + dynamicData +
", hobbyData=" + hobbyData +
", isFocus=" + isFocus +
", location=" + location +
", type='" + type + '\'' +
", userInfo=" + userInfo +
'}';
}
}

View File

@@ -47,4 +47,13 @@ public class MarkerResponse {
this.sign = sign;
}
@Override
public String toString() {
return "MarkerResponse{" +
"code=" + code +
", msg='" + msg + '\'' +
", result=" + result +
", sign='" + sign + '\'' +
'}';
}
}

View File

@@ -77,4 +77,16 @@ public class MarkerShareMusic {
this.userInfo = userInfo;
}
@Override
public String toString() {
return "MarkerShareMusic{" +
"id=" + id +
", likeNumber=" + likeNumber +
", location=" + location +
", musicName='" + musicName + '\'' +
", shareContentText='" + shareContentText + '\'' +
", type='" + type + '\'' +
", userInfo=" + userInfo +
'}';
}
}

View File

@@ -115,4 +115,16 @@ public class MarkerUserInfo {
this.userName = userName;
}
@Override
public String toString() {
return "MarkerUserInfo{" +
"age=" + age +
", gender='" + gender + '\'' +
", sn='" + sn + '\'' +
", userHead='" + userHead + '\'' +
", userId=" + userId +
", userName='" + userName + '\'' +
'}';
}
}