package com.ruoyi.bst.order.domain.dto;

import java.math.BigDecimal;

import javax.validation.constraints.NotNull;

import com.ruoyi.common.core.interfaces.LogBizParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class OrderEndDTO implements LogBizParam {

    @ApiModelProperty("订单ID")
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @ApiModelProperty("手机定位（经度）")
    private BigDecimal lon;

    @ApiModelProperty("手机定位（纬度）")
    private BigDecimal lat;

    @ApiModelProperty("结束订单原因")
    private String endReason;

    @ApiModelProperty("车辆图片")
    private String picture;

    @ApiModelProperty("还车类型")
    private String returnType;

    @ApiModelProperty("是否必须IOT成功")
    private Boolean requiredIot;

    @ApiModelProperty("是否需要调度费")
    private Boolean needDispatchFee;

    @Override
    public Object logBizId() {
        return orderId;
    }
}
