package com.kxs.user.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;

/**
 * 用户结算卡变更记录(KxsBankChangeLog)表实体类
 *
 * @author 系统
 * @since 2024-01-03 09:39:56
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsBankChangeLog extends Model<KxsBankChangeLog> 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 beforeCardNo;


    /**
     * 变更后卡号
     */
    @Schema(description = "变更后卡号")
    private String afterCardNo;


    /**
     * 变更前银行卡名称
     */
    @Schema(description = "变更前银行卡名称")
    private String beforeBankName;


    /**
     * 变更后银行卡名称
     */
    @Schema(description = "变更后银行卡名称")
    private String afterBankName;




}

