luo
2023-12-08 1300cd0e47d9f0890d972bafeba888d10395ed38
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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 com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
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)
    @ApiModelProperty(value = "id", required = false)
    private Integer id;
    /**
     * 数据类型id
     */
    @TableField("sys_data_type_id")
    @ApiModelProperty(value = "类别", required = true)
    private Integer sysDataTypeId;
    /**
     * 标题
     */
    @TableField("title")
    @ApiModelProperty(value = "标题", required = true)
    private String title;
    /**
     * 列表图片
     */
    @TableField("img_url")
    @ApiModelProperty(value = "图片", required = true)
    private String imgUrl;
    /**
     * 富文本内容
     */
    @TableField("content")
    @ApiModelProperty(value = "内容", required = true)
    private String content;
    /**
     * 纯文本内容
     */
    @TableField("content_text")
    private String contentText;
    /**
     * 浏览数量
     */
    @TableField("views_number")
    private Integer viewsNumber;
    /**
     * 添加时间
     */
    @TableField("insert_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date insertTime;
    @TableField("create_by")
    private Integer createBy;
 
    @TableField(exist = false)
    private String createByName;
 
    @TableField(exist = false)
    private String type;
}