package com.ruoyi.info.order.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseTimeEntity;
import com.ruoyi.info.order.enums.RefundStatus;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 售后订单对象 tb_order_refund
 *
 * @author ruoyi
 * @date 2025-09-29
 */
@Data
@TableName("tb_order_refund")
public class OrderRefund extends BaseTimeEntity {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * 退款原因
     */
    private String refundReason;
    /**
     * 退款数量
     */
    private Integer refundQuantity;
    /**
     * 退款金额
     */
    private BigDecimal refundAmount;
    /**
     * 退款方式
     */
    private String refundWay;
    /**
     * 退款说明
     */
    private String refundDesc;
    /**
     * 退款状态
     */
    private RefundStatus refundStatus;
    /**
     * 实退金额
     */
    private BigDecimal actualRefundAmount;
    /**
     * 操作原因
     */
    private String operationReason;
    /**
     * 操作时间
     */
    private Date operationTime;
    /**
     * 操作人
     */
    private Long operatorId;
    /**
     * 退款交易号
     */
    private String refundTradeNo;
    /**
     * 退款完成时间
     */
    private Date completeTime;
}
