Article.java
3.27 KB
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
package com.sincere.student.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
@ApiModel
public class Article {
@ApiModelProperty(value = "主键 , 新增接口不用传")
private int id ;
@ApiModelProperty(value = "标题")
private String title ;
@ApiModelProperty(value = "栏目 type=1 不用传")
private int columnType ;
@ApiModelProperty(value = "大学id")
private int universityId ;
@ApiModelProperty(value = "排序")
private int sort ;
@ApiModelProperty(value = "内容")
private String context ;
@ApiModelProperty(value = "作者")
private String author ;
@ApiModelProperty(value = "封面图片")
private String imageUrl ;
@ApiModelProperty(value = "视频链接")
private String videoUrl ;
@ApiModelProperty(value = "外链")
private String articleLink ;
@ApiModelProperty(value = "点赞数 不用传")
private int goodNumber ;
@ApiModelProperty(value = "浏览量 不用传")
private int lookNumber ;
@ApiModelProperty(value = "创建时间 不用传")
private Date createTime ;
@ApiModelProperty(value = "文章类型 1广告文章 2权威解读 ")
private int type ;
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public int getColumnType() {
return columnType;
}
public void setColumnType(int columnType) {
this.columnType = columnType;
}
public int getUniversityId() {
return universityId;
}
public void setUniversityId(int universityId) {
this.universityId = universityId;
}
public int getSort() {
return sort;
}
public void setSort(int sort) {
this.sort = sort;
}
public String getContext() {
return context;
}
public void setContext(String context) {
this.context = context;
}
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getImageUrl() {
return imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
}
public String getVideoUrl() {
return videoUrl;
}
public void setVideoUrl(String videoUrl) {
this.videoUrl = videoUrl;
}
public String getArticleLink() {
return articleLink;
}
public void setArticleLink(String articleLink) {
this.articleLink = articleLink;
}
public int getGoodNumber() {
return goodNumber;
}
public void setGoodNumber(int goodNumber) {
this.goodNumber = goodNumber;
}
public int getLookNumber() {
return lookNumber;
}
public void setLookNumber(int lookNumber) {
this.lookNumber = lookNumber;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
}