package com.kxs.store.api.model;

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

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 客小爽仓库临额提现申请表(KxsForAmountWithdraw)表实体类
 *
 * @author 系统
 * @since 2024-01-08 09:46:02
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsForAmountWithdraw extends Model<KxsForAmountWithdraw> implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    
    
    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    @TableId(type = IdType.AUTO)
    private Integer id;


    /**
     * 新增时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "新增时间")
    private LocalDateTime createTime;


    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;


    /**
     * 删除标记，0未删除，1已删除
     */
    @Schema(description = "删除标记，0未删除，1已删除")
    private Integer delFlag;


    /**
     * 版本
     */
    @Schema(description = "版本")
    private Integer version;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Integer userId;


    /**
     * 提现金额
     */
    @Schema(description = "提现金额")
    private BigDecimal amount;


    /**
     * 状态 0申请中 1提现成功 2驳回
     */
    @Schema(description = "状态 0申请中 1提现成功 2驳回 3处理中")
    private Integer status;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String username;

    /**
     * 邀请码
     */
    @Schema(description = "邀请码")
    private String userCode;

    /**
     * 身份证
     */
    @Schema(description = "身份证")
    private String idCard;

    /**
     * 银行名称
     */
    @Schema(description = "银行名称")
    private String bankName;

    /**
     * 提现类型 0分仓 1小分仓
     */
    @Schema(description = "提现类型 0分仓 1小分仓")
    private Integer withdrawType;

    /**
     * 预留手机号
     */
    @Schema(description = "预留手机号")
    private String bankPhone;


    /**
     * 银行卡号
     */
    @Schema(description = "银行卡号")
    private String bankCode;


    /**
     * 提现方式 0提现到余额 1提现到银行卡
     */
    @Schema(description = "提现方式 0提现到余额 1提现到银行卡")
    private Integer amountType;




}

