shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
package com.ishop.model.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
 
import java.io.Serializable;
import java.util.Date;
 
public class ArticleVo implements Serializable {
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getCid() {
        return cid;
    }
 
    public void setCid(Long cid) {
        this.cid = cid;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public String getAuthor() {
        return author;
    }
 
    public void setAuthor(String author) {
        this.author = author;
    }
 
    public String getCover() {
        return cover;
    }
 
    public void setCover(String cover) {
        this.cover = cover;
    }
 
    public Long getVisit() {
        return visit;
    }
 
    public void setVisit(Long visit) {
        this.visit = visit;
    }
 
    public Integer getSort() {
        return sort;
    }
 
    public void setSort(Integer sort) {
        this.sort = sort;
    }
 
    public Boolean getStatus() {
        return status;
    }
 
    public void setStatus(Boolean status) {
        this.status = status;
    }
 
    public Boolean getIsHot() {
        return isHot;
    }
 
    public void setIsHot(Boolean hot) {
        isHot = hot;
    }
 
    public Boolean getIsBanner() {
        return isBanner;
    }
 
    public void setIsBanner(Boolean banner) {
        isBanner = banner;
    }
 
    public String getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
 
    public String getSynopsis() {
        return synopsis;
    }
 
    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }
 
    public String getContent() {
        return content;
    }
 
    public void setContent(String content) {
        this.content = content;
    }
 
    private String synopsis;    // 由于原始对象返回vo有多个,搅乱,这里统一返回文章VO,有些属性是后端特有的
    private String content;
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
 
 
    //    @ApiModelProperty(value = "文章管理ID")
    private Long id;
 
//    @ApiModelProperty(value = "分类id")
    private Long cid;
 
//    @ApiModelProperty(value = "文章标题")
    private String title;
 
//    @ApiModelProperty(value = "文章作者")
    private String author;
 
//    @ApiModelProperty(value = "文章封面")
    private String cover;
 
//    @ApiModelProperty(value = "浏览次数")
    private Long visit;
 
//    @ApiModelProperty(value = "排序")
    private Integer sort;
 
//    @ApiModelProperty(value = "状态,0-关闭,1-开启")
    private Boolean status;
 
//    @ApiModelProperty(value = "是否热门(小程序)")
    private Boolean isHot;
 
//    @ApiModelProperty(value = "是否轮播图(小程序)")
    private Boolean isBanner;
 
//    @ApiModelProperty(value = "创建时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private String createTime;
}