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;

/**
 * 用户存量预设职级表(KxsUserPresetBefore)表实体类
 *
 * @author 系统
 * @since 2024-06-07 16:24:47
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsUserPresetBefore extends Model<KxsUserPresetBefore> 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 LocalDateTime startTime;


    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    private LocalDateTime endTime;


    /**
     * 预设等级
     */
    @Schema(description = "预设等级")
    private Integer presetLevel;


    /**
     * 设置人
     */
    @Schema(description = "设置人")
    private Integer createById;




}

