package com.zsElectric.boot.business.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.math.BigDecimal;

/**
 * 退款订单视图对象
 *
 * @author zsElectric
 * @since 2025-12-17 16:48
 */
@Getter
@Setter
@Schema( description = "退款订单视图对象")
public class UserRefundsOrderInfoVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    private String id;
    @Schema(description = "订单ID")
    private String orderId;
    @Schema(description = "商户订单号")
    private String orderNo;
    @Schema(description = "退款类型：1-主动退款 2-用户申请退款")
    private Integer type;
    @Schema(description = "商户退款单号")
    private String outRefundNo;
    @Schema(description = "微信支付退款单号")
    private String refundId;
    @Schema(description = "微信支付订单号")
    private String transactionId;
    @Schema(description = "退款原因")
    private String reason;
    @Schema(description = "退款受理时间")
    private LocalDateTime acceptedTime;
    @Schema(description = "退款成功时间")
    private LocalDateTime successTime;
    @Schema(description = "退款金额（元）")
    private BigDecimal amount;
    @Schema(description = "微信退款回调参数")
    private String notifyRequest;
    @Schema(description = "退款状态")
    private String status;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "修改时间")
    private LocalDateTime updateTime;
    @Schema(description = "逻辑删除(0-未删除 1-已删除)")
    private Integer isDeleted;
}
