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;

/**
 * 用户当前真实等级表(KxsUserRealLevel)表实体类
 *
 * @author 系统
 * @since 2024-05-08 14:06:37
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsUserRealLevel extends Model<KxsUserRealLevel> 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;


    /**
     * 计算月份
     */
    @Schema(description = "计算月份")
    private String month;


    /**
     * 当前等级
     */
    @Schema(description = "当前等级")
    private String level;


    /**
     * 用户id
     */
    @Schema(description = "用户id")
    private Long userId;


    /**
     * 上级id
     */
    @Schema(description = "上级id")
    private Long pid;




}

