package com.doumee.dao.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
|
/**
|
* 手动退款请求DTO
|
*
|
* @Author : Rk
|
* @create 2026/05/15
|
*/
|
@Data
|
@ApiModel("手动退款请求")
|
public class ManualRefundDTO {
|
|
@ApiModelProperty(value = "订单主键", example = "1", required = true)
|
@NotNull(message = "订单主键不能为空")
|
private Integer orderId;
|
|
@ApiModelProperty(value = "退款金额(分)", example = "10000", required = true,
|
notes = "必须大于0且小于等于(支付金额-已退款金额)")
|
@NotNull(message = "退款金额不能为空")
|
private Long refundAmount;
|
|
@ApiModelProperty(value = "存件门店扣款金额(分)", example = "500",
|
notes = "所有订单类型均存在存件门店,非必填,不填则不扣款")
|
private Long depositShopDeduct;
|
|
@ApiModelProperty(value = "取件门店扣款金额(分)", example = "300",
|
notes = "仅异地订单(type=1)且存在取件门店(takeShopId!=null)时有效,其他情况传入忽略")
|
private Long takeShopDeduct;
|
|
@ApiModelProperty(value = "司机扣款金额(分)", example = "200",
|
notes = "仅异地订单(type=1)时有效,其他情况传入忽略")
|
private Long driverDeduct;
|
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
}
|