package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.GeneratedValue;
import java.util.Date;

/**
 * 提现扩展信息对象 withdraw_extend
 *
 * @author ruoyi
 * @date 2025-10-22
 */
@Data
@TableName(value = "withdraw_extend")
@EqualsAndHashCode(callSuper = false)
public class WithdrawExtend
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @GeneratedValue
    /** $column.columnComment */
    private Long id;
    /** 订单id */
    @Excel(name = "订单id")
    private String ddId;
    /** 金额 */
    @Excel(name = "金额")
    private Double amount;
    /** 状态：0 待审核 1审核通过 2完成支付 -1拒绝  -2支付失败 */
    @Excel(name = "状态")
    private String state;

    /** 说明 */
    @Excel(name = "说明")
    private String illustrate;
    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date cretim;
    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;
    private String userType;
    /** 交易截图 */
    @Excel(name = "交易截图")
    private String payImage;

    /** 交易单号 */
    @Excel(name = "交易单号")
    private String payDdId;
    /** 提现卡信息 */
    private String cardInfo ;

    /** 提现钱包信息 */
    private String walletInfo;
    /** 提现类型 1：钱包 2：银行卡 */
    private String withdrawType;

}
