package com.yn.bftl.thirdparty.modules.business.dto;

import com.yn.bftl.common.modules.order.entity.OrderItem;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 订单退款项DTO
 *
 * @author huabiao
 * @create 2023/1/4  10:55
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class OrderRefundItemDTO {

    /**
     * 订单项
     */
    private OrderItem orderItem;

    /**
     * 退款金额
     */
    private BigDecimal refundAmount;

    /**
     * 退款数量
     */
    private Integer refundQuantity;

    /**
     * 已处理退款金额(为了计算退款结算单)
     */
    private BigDecimal handleRefundAmount = BigDecimal.ZERO;
}
