测试代码修改
字段名称修改 UI
This commit is contained in:
@@ -10,35 +10,35 @@ import java.io.Serializable;
|
||||
* @since: 10/26/21
|
||||
*/
|
||||
public class NoticeTrafficStyleInfo extends BaseData {
|
||||
private NoticeTrafficStyleInfoResult mResult;
|
||||
public NoticeTrafficStyleInfoResult result;
|
||||
|
||||
public NoticeTrafficStyleInfoResult getResult() {
|
||||
return mResult;
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(NoticeTrafficStyleInfoResult result) {
|
||||
mResult = result;
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "NoticeTrafficStyleInfo{" +
|
||||
"mResult=" + mResult +
|
||||
"result=" + result +
|
||||
'}';
|
||||
}
|
||||
|
||||
public class NoticeTrafficStyleInfoResult extends BaseData{
|
||||
public class NoticeTrafficAccountInfo implements Serializable{
|
||||
private String infoId;//事故id
|
||||
private String poiType;//事故类型
|
||||
private long dataCreateTime;//事故发生时间
|
||||
private long dataHandleTime;//事故处理时间
|
||||
private String operaStatus;//事故处理状态
|
||||
private String reason;//事故原因
|
||||
private String uploadAddress;//事故地点名称
|
||||
private String troubleTypeName;//事故等级描述
|
||||
private double lat;//纬度
|
||||
private double lon;//经度
|
||||
|
||||
private double lat;//纬度
|
||||
private String troubleTypeName;//事故等级描述
|
||||
private String uploadType;//事故等级描述
|
||||
private String uploadAddress;//事故地点名称
|
||||
public String getInfoId() {
|
||||
return infoId;
|
||||
}
|
||||
@@ -119,19 +119,47 @@ public class NoticeTrafficStyleInfo extends BaseData {
|
||||
this.troubleTypeName = troubleTypeName;
|
||||
}
|
||||
|
||||
public String getUploadType() {
|
||||
return uploadType;
|
||||
}
|
||||
|
||||
public void setUploadType(String uploadType) {
|
||||
this.uploadType = uploadType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "NoticeTrafficStyleInfo{" +
|
||||
return "NoticeTrafficAccountInfo{" +
|
||||
"infoId='" + infoId + '\'' +
|
||||
", poiType='" + poiType + '\'' +
|
||||
", dataCreateTime=" + dataCreateTime +
|
||||
", dataHandleTime=" + dataHandleTime +
|
||||
", operaStatus='" + operaStatus + '\'' +
|
||||
", reason='" + reason + '\'' +
|
||||
", uploadAddress='" + uploadAddress + '\'' +
|
||||
", troubleTypeName='" + troubleTypeName + '\'' +
|
||||
", lat=" + lat +
|
||||
", lon=" + lon +
|
||||
", lat=" + lat +
|
||||
", troubleTypeName='" + troubleTypeName + '\'' +
|
||||
", uploadType='" + uploadType + '\'' +
|
||||
", uploadAddress='" + uploadAddress + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
public class NoticeTrafficStyleInfoResult implements Serializable{
|
||||
private NoticeTrafficAccountInfo accidentInfo;
|
||||
|
||||
public NoticeTrafficAccountInfo getAccidentInfo() {
|
||||
return accidentInfo;
|
||||
}
|
||||
|
||||
public void setAccidentInfo(NoticeTrafficAccountInfo accidentInfo) {
|
||||
this.accidentInfo = accidentInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "NoticeTrafficStyleInfoResult{" +
|
||||
"accidentInfo=" + accidentInfo +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user