| | |
| | | @Data |
| | | @ApiModel |
| | | public class TravelOrder { |
| | | @ApiModelProperty(value = "起点纬度", dataType = "double", required = true) |
| | | private Double startLat; |
| | | @ApiModelProperty(value = "起点经度", dataType = "double", required = true) |
| | | private Double startLng; |
| | | @ApiModelProperty(value = "起点纬度", dataType = "string", required = true) |
| | | private String startLat; |
| | | @ApiModelProperty(value = "起点经度", dataType = "string", required = true) |
| | | private String startLng; |
| | | @ApiModelProperty(value = "起点地址", dataType = "string", required = true) |
| | | private String startAddress; |
| | | @ApiModelProperty(value = "终点纬度", dataType = "double", required = false) |
| | | private Double endLat; |
| | | @ApiModelProperty(value = "终点经度", dataType = "double", required = false) |
| | | private Double endLng; |
| | | @ApiModelProperty(value = "终点纬度", dataType = "string", required = false) |
| | | private String endLat; |
| | | @ApiModelProperty(value = "终点经度", dataType = "string", required = false) |
| | | private String endLng; |
| | | @ApiModelProperty(value = "终点地址", dataType = "string", required = false) |
| | | private String endAddress; |
| | | @ApiModelProperty(value = "司机数量", dataType = "int", required = true) |