package com.yc.ship.module.trade.service.refund.bo;

import com.yc.ship.module.product.api.dto.ProductSpuRespDTO;
import com.yc.ship.module.trade.dal.dataobject.order.TradeOrderDO;
import com.yc.ship.module.trade.dal.dataobject.refund.RefundDO;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * &#064;Description ：退款BO
 * &#064;Author ：qsl
 * &#064;Date ：2025/6/6 21:45
 */
@Data
public class TradeRefundBO {

    /**
     * 目前只验证了整单退
     */
    private boolean hasRefund;
    /**
     * 忽略平台退款
     */
    private boolean ignorePlatRefund;
    /**
     * 是否需要审核
     */
    private Boolean needAudit;
    /**
     * 是否需要验证规则
     */
    private Boolean needValidate;
    private Map<Long, ProductSpuRespDTO> productMap;
    private RefundDO refundDO;
    private TradeOrderDO tradeOrderDO;
    private List<TradeRefundDetailBO>  tradeRefundDetailBOList;
}
