package com.kxs.user.api.model;

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

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

/**
 * 用户银行卡表(KxsUserBank)表实体类
 *
 * @author 系统
 * @since 2024-01-03 09:39:55
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsUserBank extends Model<KxsUserBank> 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 String delFlag;


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


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


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

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


    /**
     * 开户行
     */
    @Schema(description = "开户行")
    private String bankOpen;


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


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


    /**
     * 银行卡照片
     */
    @Schema(description = "银行卡照片")
    private String bankPic;


}

