admin
2020-02-18 ddf5db7d31af51fcf697eac0cee7dd46ff73bcc1
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
package com.yeshi.fanli.entity.dynamic;
 
import java.io.Serializable;
import java.util.Date;
import java.util.List;
 
import org.springframework.format.annotation.DateTimeFormat;
 
import com.google.gson.annotations.Expose;
import com.yeshi.fanli.vo.msg.ClientTextStyleVO;
 
public class CommentInfo implements Serializable {
    private static final long serialVersionUID = 1L;
 
    public enum CommentInfoEnum {
        goodsCoupon(1,"商品优惠券"), currencyCoupon(2,"通用优惠券");
 
        private final int vlaue;
        private final String desc;
 
        private CommentInfoEnum(int vlaue, String desc) {
            this.vlaue = vlaue;
            this.desc = desc;
        }
 
        public String getDesc() {
            return desc;
        }
        
        public int getVlaue() {
            return vlaue;
        }
    }
    
    @Expose
    private String id;
    // 类型
    @Expose
    private CommentInfoEnum type;
    // 内容
    @Expose
    private String content;
    // 标签
    @Expose
    private List<ClientTextStyleVO> tagList;
    // 标签说明
    @Expose
    private String tagDesc;
    // h5
    @Expose
    private String tagUrl;
        
    private Integer weight;
    // 券信息
    private String coupon;
    // 券来源
    private String couponSource;
    // 结束时间
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") 
//    private Date endTime;
    
    private String tags;
    private String tagsColour;
    private String endTime;
 
    public CommentInfoEnum getType() {
        return type;
    }
 
    public void setType(CommentInfoEnum type) {
        this.type = type;
    }
 
    public String getContent() {
        return content;
    }
 
    public void setContent(String content) {
        this.content = content;
    }
 
    public List<ClientTextStyleVO> getTagList() {
        return tagList;
    }
 
    public void setTagList(List<ClientTextStyleVO> tagList) {
        this.tagList = tagList;
    }
 
    public String getTagDesc() {
        return tagDesc;
    }
 
    public void setTagDesc(String tagDesc) {
        this.tagDesc = tagDesc;
    }
 
    public String getTags() {
        return tags;
    }
 
    public void setTags(String tags) {
        this.tags = tags;
    }
 
    public String getTagsColour() {
        return tagsColour;
    }
 
    public void setTagsColour(String tagsColour) {
        this.tagsColour = tagsColour;
    }
 
    public Integer getWeight() {
        return weight;
    }
 
    public void setWeight(Integer weight) {
        this.weight = weight;
    }
 
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public String getTagUrl() {
        return tagUrl;
    }
 
    public void setTagUrl(String tagUrl) {
        this.tagUrl = tagUrl;
    }
 
    public String getCoupon() {
        return coupon;
    }
 
    public void setCoupon(String coupon) {
        this.coupon = coupon;
    }
 
    public String getCouponSource() {
        return couponSource;
    }
 
    public void setCouponSource(String couponSource) {
        this.couponSource = couponSource;
    }
 
    public String getEndTime() {
        return endTime;
    }
 
    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}