package com.ruoyi.common.core.vo;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import lombok.Data;
|
|
import java.util.List;
|
|
/**
|
* @author HJL
|
* @version 1.0
|
* @since 2024-06-24 17:05
|
*/
|
@Data
|
public class Path {
|
|
/**
|
* 行驶距离
|
*/
|
private Integer distance;
|
|
/**
|
* 预计行驶时间
|
*/
|
private Integer duration;
|
|
/**
|
* 导航策略
|
*/
|
private String strategy;
|
|
/**
|
* 此导航方案道路收费
|
*/
|
private Integer tolls;
|
|
/**
|
* 限行结果
|
*/
|
private Integer restriction;
|
|
/**
|
* 红绿灯个数
|
*/
|
@JsonProperty("traffic_lights")
|
private Integer trafficLights;
|
|
/**
|
* 收费路段距离
|
*/
|
@JsonProperty("toll_distance")
|
private Integer tollDistance;
|
|
/**
|
* 导航路段
|
*/
|
private List<Steps> steps;
|
|
}
|