package com.ruoyi.xq.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 用户提现审核对象 xq_user_withdraw
 *
 * @author 77
 * @date 2024-03-04
 */
@Data
@TableName("xq_user_withdraw")
public class UserWithdraw implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 用户号
     */
    private String usercode;

    @Schema(description = "提现方式 1-支付宝 2-微信")
    private Integer withdrawType;
    /**
     * 提现账户/openId
     */
    private String card;
    /**
     * 提现名称/微信名称
     */
    private String name;
    /**
     * 跟踪ID
     */
    private String traceId;
    /**
     * 订单号
     */
    private String orderNo;
    /**
     * 提现金额
     */
    private BigDecimal withdrawMoney;
    /**
     * 真实提现金额
     */
    private BigDecimal realWithdrawMoney;
    /**
     * 提现手续费金额
     */
    private BigDecimal withdrawFees;
    /**
     * 提现手续费
     */
    private BigDecimal withdrawFeesCate;
    /**
     * 是否打款
     */
    private Integer pay;
    /**
     * 1-待审核 2-审核成功 3-审核失败
     */
    private Integer auditStatus;
    /**
     * 审核备注
     */
    private String auditRemark;
    /**
     * 审核时间
     */
    private LocalDateTime auditTime;
    /**
     * 审核人ID
     */
    private String auditOpId;
    /**
     * 审核人名称
     */
    private String auditOpName;
    /**
     * 审核人IP
     */
    private String auditIp;
    /**
     * 删除标记
     */
    private Integer deleteFlag;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
