package beilv.order.domain;

import beilv.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class StoreRefund extends BaseEntity {
    private Long id;

    private Long uid;      // 用户id

    private String refundNo;      // 商户退款单号 (out_refund_no)

    private String orderId;       // 对应订单号

    private String transactionId; // 微信支付单号

    private BigDecimal refundAmount; // 本次退款金额（元）

    private String refundReason;  // 退款原因

    private String refundStatus;  // PENDING / SUCCESS / FAILED

    private String wxRefundId;    // 微信退款单号 (refund_id)

    private Date successTime;  // 退款成功时间
}

