leutu
2024-06-03 3ef35e6cd16bbfa206b26bb3271eac40ad020bcb
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
package com.fastbee.iot.domain;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fastbee.common.annotation.Excel;
import com.fastbee.common.core.domain.BaseEntity;
 
/**
 * 新闻资讯对象 news
 * 
 * @author kerwincui
 * @date 2022-04-09
 */
@ApiModel(value = "News", description = "新闻资讯对象 news")
public class News extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /** 新闻ID */
    @ApiModelProperty("新闻ID")
    private Long newsId;
 
    /** 标题 */
    @ApiModelProperty("标题")
    @Excel(name = "标题")
    private String title;
 
    /** 内容 */
    @ApiModelProperty("内容")
    @Excel(name = "内容")
    private String content;
 
    /** 图片 */
    @ApiModelProperty("图片")
    @Excel(name = "图片")
    private String imgUrl;
 
    /** 置顶 */
    @ApiModelProperty("是否置顶")
    @Excel(name = "置顶")
    private Integer isTop;
 
    /** 广告 */
    @ApiModelProperty("广告")
    @Excel(name = "广告")
    private Integer isBanner;
 
    /** 分类ID */
    @ApiModelProperty("分类ID")
    @Excel(name = "分类ID")
    private Long categoryId;
 
    /** 分类名称 */
    @ApiModelProperty("分类名称")
    @Excel(name = "分类名称")
    private String categoryName;
 
    /** 发布 */
    @ApiModelProperty("新闻状态(0-未发布,1-已发布)")
    @Excel(name = "发布")
    private Integer status;
 
    /** 作者 */
    @ApiModelProperty("作者")
    @Excel(name = "作者")
    private String author;
 
    /** 删除标志(0代表存在 2代表删除) */
    @ApiModelProperty("删除标志")
    private String delFlag;
 
    public void setNewsId(Long newsId) 
    {
        this.newsId = newsId;
    }
 
    public Long getNewsId() 
    {
        return newsId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }
 
    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }
 
    public String getContent() 
    {
        return content;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }
 
    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setIsTop(Integer isTop)
    {
        this.isTop = isTop;
    }
 
    public Integer getIsTop() 
    {
        return isTop;
    }
    public void setIsBanner(Integer isBanner) 
    {
        this.isBanner = isBanner;
    }
 
    public Integer getIsBanner() 
    {
        return isBanner;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }
 
    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName)
    {
        this.categoryName = categoryName;
    }
 
    public String getCategoryName()
    {
        return categoryName;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }
 
    public Integer getStatus() 
    {
        return status;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }
 
    public String getAuthor() 
    {
        return author;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }
 
    public String getDelFlag() 
    {
        return delFlag;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("newsId", getNewsId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("imgUrl", getImgUrl())
            .append("isTop", getIsTop())
            .append("isBanner", getIsBanner())
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("status", getStatus())
            .append("author", getAuthor())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}