rk
7 小时以前 c74a6f59490cfb9a0ee37f70427739b74e7fbd58
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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;
}