package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2023/11/23 15:15
|
*/
|
@Data
|
@TableName("t_encyclopedic_knowledge")
|
public class EncyclopedicKnowledge {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 数据类型id
|
*/
|
@TableField("sys_data_type_id")
|
private Integer sysDataTypeId;
|
/**
|
* 标题
|
*/
|
@TableField("title")
|
private String title;
|
/**
|
* 列表图片
|
*/
|
@TableField("img_url")
|
private String imgUrl;
|
/**
|
* 富文本内容
|
*/
|
@TableField("content")
|
private String content;
|
/**
|
* 纯文本内容
|
*/
|
@TableField("content_text")
|
private String contentText;
|
/**
|
* 浏览数量
|
*/
|
@TableField("views_number")
|
private Integer viewsNumber;
|
/**
|
* 添加时间
|
*/
|
@TableField("insert_time")
|
private Date insertTime;
|
}
|