package com.yuchen.saas.payment.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

import java.util.Date;

/**
 * <p>
 * 订单退款申诉表
 * </p>
 *
 * @author caiwq
 * @since 2024-01-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("order_refund_appeal")
@ApiModel(value="OrderRefundAppeal对象", description="订单退款申诉表")
public class OrderRefundAppeal extends BaseEntity {

    /**
     * 申诉单号
     */
    @ApiModelProperty(name = "appealNo", value = "申诉单号")
    private String appealNo;
    /**
     * 关联退款申请单号
     */
    @ApiModelProperty(name = "linkApplyNo", value = "关联退款申请单号")
    private String linkApplyNo;
    /**
     * 申诉通过发起退款申请单号
     */
    @ApiModelProperty(name = "refundApplyNo", value = "申诉通过发起退款申请单号")
    private String refundApplyNo;
    /**
     * 订单号
     */
    @ApiModelProperty(name = "orderNo", value = "订单号")
    private String orderNo;
    /**
     * 申诉状态(1:待处理 2:已通过 3:未通过 4已取消)
     */
    @ApiModelProperty(name = "appealStatus", value = "申诉状态(1:待处理 2:已通过 3:未通过 4已取消)")
    private Integer appealStatus;
    /**
     * 申诉说明
     */
    @ApiModelProperty(name = "appealDesc", value = "申诉说明")
    private String appealDesc;
    /**
     * 申诉附件
     */
    @ApiModelProperty(name = "appealImage", value = "申诉附件")
    private String appealImage;
    /**
     * 申诉用户ID
     */
    @ApiModelProperty(name = "appealUserId", value = "申诉用户ID")
    private Long appealUserId;
    /**
     * 申诉用户手机号
     */
    @ApiModelProperty(name = "phone", value = "申诉用户手机号")
    private String phone;
    /**
     * 处理人
     */
    @ApiModelProperty(name = "handleUserId", value = "处理人")
    private Long handleUserId;
    /**
     * 处理时间
     */
    @ApiModelProperty(name = "handleTime", value = "处理时间")
    private Date handleTime;
    /**
     * 处理说明
     */
    @ApiModelProperty(name = "handleDesc", value = "处理说明")
    private String handleDesc;
    /**
     * 申诉来源
     */
    @ApiModelProperty(name = "appealSource", value = "申诉来源")
    private String appealSource;
    /**
     * 客户ID
     */
    @ApiModelProperty(name = "customerId", value = "客户ID")
    private Long customerId;
    /**
     * 是否发起退款(0:否 1:是)
     */
    @ApiModelProperty(name = "isRefund", value = "是否发起退款(0:否 1:是)")
    private Integer isRefund;
    /**
     * 退款金额
     */
    @ApiModelProperty(name = "refundAmount", value = "退款金额")
    private Long refundAmount;

}
