Helius
2022-07-12 3a8d8b6de6daf6e7198a2b8d562dc2fbf49a4a2a
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
package com.xcong.farmer.cms.modules.system.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.util.Date;
 
@Data
@ApiModel(value = "WebArticleVo", description = "返回")
public class WebArticleVo {
 
    private Long id;
 
    @ApiModelProperty(value = "标题")
    private String title;
 
    @ApiModelProperty(value = "标题")
    private String childTitle;
 
    @ApiModelProperty(value = "作者")
    private String author;
 
    @ApiModelProperty(value = "作者所属单位")
    private String authorBelong;
 
    @ApiModelProperty(value = "描述")
    private String remark;
 
    @ApiModelProperty(value = "所属栏目名称")
    private String columnName;
 
    @ApiModelProperty(value = "访问量")
    private Integer visits;
 
    @ApiModelProperty(value = "主图")
    private String mainDiagram;
 
    @ApiModelProperty(value = "图集")
    private String atlas;
 
    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date releaseTime;
 
    @ApiModelProperty(value = "设置成热门文章 0:否 1:是")
    private Integer isTop;
 
    @ApiModelProperty(value = "文章详情")
    private String articleDetails;
 
    @ApiModelProperty(value = "1-站内 2-外部链接")
    private Integer type;
 
    @ApiModelProperty(value = "外部链接地址")
    private String articleUrl;
 
    @ApiModelProperty(hidden = true)
    private String baseUrl;
 
    @ApiModelProperty(hidden = true)
    private String path;
 
}