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

import java.math.BigDecimal;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

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

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

@Data
public class OrderVerifyDTO implements LogBizParam {

    @ApiModelProperty("订单ID")
    @NotNull(message = "订单ID不能为空")
    private Long id;
    
    @ApiModelProperty("审核备注")
    @Size(max = 200, message = "审核备注不能超过200个字符")
    private String remark;

    @ApiModelProperty("车损费")
    @Min(value = 0, message = "车损费不允许小于0")
    private BigDecimal deductionFee;

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