zhaowenxuan
2025-02-06 06c12d2b42c343798d9476be66031b48967df639
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
43
package com.ltkj.mall.domain;
 
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
 
@Data
@ApiModel
public class OrderRefund
{
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "订单id",required = true)
    @NotNull(message = "订单ID不能为空")
    private Long id;
 
    /** 实际退款金额,(有可能退款金额小于实际支付金额) */
    @ApiModelProperty(value = "实际退款金额")
    private Double refundAmount;
 
    /** 退款方式 */
    @ApiModelProperty(value = "退款方式 1原路返回 2现金支付")
    private Integer refundType;
 
    /** 退款备注 */
    @ApiModelProperty(value = "退款备注")
    private String refundContent;
 
    /** 订单费用, = goods_price + freight_price - coupon_price*/
    @ApiModelProperty(value = "订单金额",required = true)
    @NotNull(message = "请输入订单金额")
    private BigDecimal orderPrice;
 
    /** 实付费用, = order_price - integral_price */
    @ApiModelProperty(value = "实付费用",required = true)
    @NotNull(message = "请输入实付金额")
    private BigDecimal actualPrice;
 
}