package com.kxs.system.api.model;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
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;

/**
 * 首页广告管理表(KxsBanner)表实体类
 *
 * @author 系统
 * @since 2024-06-25 15:45:05
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsBanner extends Model<KxsBanner> 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已删除")
    @TableLogic
    private Integer delFlag;


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


    /**
     * 标题
     */
    @Schema(description = "标题")
    private String title;


    /**
     * 封面图地址
     */
    @Schema(description = "封面图地址")
    private String picUrl;


    /**
     * 跳转链接
     */
    @Schema(description = "跳转链接")
    private String url;


    /**
     * 分类ID
     */
    @Schema(description = "分类ID")
    private String colId;


    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;


    /**
     * 状态 0下架 1上架
     */
    @Schema(description = "状态 0下架 1上架")
    private Integer status;


    /**
     * 内容
     */
    @Schema(description = "内容")
    private String contents;


    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;




}

