package com.ruoyi.system.domain.vo;
|
|
import java.math.BigDecimal;
|
|
/**
|
* 价格计算VO
|
*
|
* @author ruoyi
|
*/
|
public class PriceCalculateVO {
|
|
/**
|
* 起始地址
|
*/
|
private String fromAddress;
|
|
/**
|
* 目的地址
|
*/
|
private String toAddress;
|
|
/**
|
* 距离(公里)
|
*/
|
private BigDecimal distance;
|
|
/**
|
* 地域(可选)
|
*/
|
private String region;
|
|
public String getFromAddress() {
|
return fromAddress;
|
}
|
|
public void setFromAddress(String fromAddress) {
|
this.fromAddress = fromAddress;
|
}
|
|
public String getToAddress() {
|
return toAddress;
|
}
|
|
public void setToAddress(String toAddress) {
|
this.toAddress = toAddress;
|
}
|
|
public BigDecimal getDistance() {
|
return distance;
|
}
|
|
public void setDistance(BigDecimal distance) {
|
this.distance = distance;
|
}
|
|
public String getRegion() {
|
return region;
|
}
|
|
public void setRegion(String region) {
|
this.region = region;
|
}
|
|
@Override
|
public String toString() {
|
return "PriceCalculateVO{" +
|
"fromAddress='" + fromAddress + '\'' +
|
", toAddress='" + toAddress + '\'' +
|
", distance=" + distance +
|
", region='" + region + '\'' +
|
'}';
|
}
|
}
|