zxl
2025-05-30 ba524bc13846fcbedb231b4bebc9a1a0927c5f70
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package cn.lili.modules.order.aftersale.entity.dto;
 
 
import cn.lili.modules.promotion.entity.dos.BasePromotions;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
 
/**
 * 商城退款流水
 *
 * @author Chopper
 * @since 2020/11/17 7:25 下午
 */
@Data
public class AfterSalePriceDetailDTO implements Serializable {
 
 
    private static final long serialVersionUID = 8808470688518188146L;
    @ApiModelProperty(value = "商品总金额(商品原价)")
    private Double goodsPrice;
 
    @ApiModelProperty(value = "配送费")
    private Double freightPrice;
 
    //============discount price============
 
    @ApiModelProperty(value = "支付积分")
    private Integer payPoint;
 
    @ApiModelProperty(value = "优惠金额")
    private Double discountPrice;
 
    @ApiModelProperty(value = "优惠券金额")
    private Double couponPrice;
 
    //===========end discount price =============
 
 
    //=========distribution==========
 
    @ApiModelProperty(value = "单品分销返现支出")
    private Double distributionCommission;
 
 
    @ApiModelProperty(value = "平台收取交易佣金")
    private Double platFormCommission;
 
    //=========end distribution==========
 
 
    //========= platform coupon==========
 
    @ApiModelProperty(value = "平台优惠券 使用金额")
    private Double siteCouponPrice;
 
    @ApiModelProperty(value = "站点优惠券佣金比例")
    private Double siteCouponPoint;
 
    @ApiModelProperty(value = "站点优惠券佣金")
    private Double siteCouponCommission;
    //=========end platform coupon==========
 
    @ApiModelProperty(value = "流水金额(入账 出帐金额) = goodsPrice - discountPrice - couponPrice")
    private Double flowPrice;
 
    @ApiModelProperty(value = "最终结算金额 = flowPrice - platFormCommission - distributionCommission")
    private Double billPrice;
 
    /**
     * 参与的促销活动
     */
    @ApiModelProperty(value = "参与的促销活动")
    private List<BasePromotions> joinPromotion;
 
 
    public AfterSalePriceDetailDTO() {
        goodsPrice = 0d;
        freightPrice = 0d;
 
        payPoint = 0;
        discountPrice = 0d;
 
        distributionCommission = 0d;
        platFormCommission = 0d;
 
        siteCouponPrice = 0d;
        siteCouponPoint = 0d;
        siteCouponCommission = 0d;
 
        flowPrice = 0d;
        billPrice = 0d;
 
        joinPromotion = new ArrayList<>();
    }
 
}