package com.xingxi.business.RefundInfo.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xingxi.common.annotation.Excel;
import com.xingxi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 退款信息对象 t_refund_info
 * 
 * @author Xingxi
 * @date 2025-05-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString
public class RefundInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private String delFlag;

    /** 微信支付订单号 */
    @Excel(name = "微信支付订单号")
    private String transactionId;

    /** 商户订单号 */
    @Excel(name = "商户订单号")
    private String outTradeNo;

    /** 商户退款单号 */
    @Excel(name = "商户退款单号")
    private String outRefundNo;

    /** 退款原因 */
    @Excel(name = "退款原因")
    private String reason;

    /** 退款结果回调url */
    @Excel(name = "退款结果回调url")
    private String notifyUrl;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private BigDecimal amountRefund;

    /** 原订单金额 */
    @Excel(name = "原订单金额")
    private BigDecimal amountTotal;

    /** 微信支付退款单号 */
    @Excel(name = "微信支付退款单号")
    private String refundId;

    /** 退款渠道 */
    @Excel(name = "退款渠道")
    private String channel;

    /** 退款入账账户 */
    @Excel(name = "退款入账账户")
    private String userReceivedAccount;

    /** 退款成功时间 */
    @Excel(name = "退款成功时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String successTime;

    /** 退款创建时间 */
    @Excel(name = "退款创建时间")
    private String refundTime;

    /** 退款状态 */
    @Excel(name = "退款状态")
    private String status;

    /** 资金账户 */
    @Excel(name = "资金账户")
    private String fundsAccount;

    /** 用户实际支付金额 */
    @Excel(name = "用户实际支付金额")
    private BigDecimal payerTotal;

    /** 用户退款金额 */
    @Excel(name = "用户退款金额")
    private BigDecimal payerRefund;

    /** 应结退款金额 */
    @Excel(name = "应结退款金额")
    private BigDecimal settlementRefund;

    /** 应结订单金额 */
    @Excel(name = "应结订单金额")
    private BigDecimal settlementTotal;

    /** 优惠退款金额 */
    @Excel(name = "优惠退款金额")
    private BigDecimal discountRefund;


}
