RecommendPromotionAggVO.java
1.19 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
package com.yoho.search.models;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.annotation.JSONField;
public class RecommendPromotionAggVO {
@JSONField(name = "promotion_info_id")
private int promotionInfoId;
@JSONField(name = "coverimg_url")
private String coverImgUrl;
private String title;
public int getPromotionInfoId() {
return promotionInfoId;
}
public void setPromotionInfoId(int promotionInfoId) {
this.promotionInfoId = promotionInfoId;
}
public String getCoverImgUrl() {
return coverImgUrl;
}
public void setCoverImgUrl(String coverImgUrl) {
this.coverImgUrl = coverImgUrl;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public static void main(String[] args) {
RecommendPromotionAggVO recommendPromotionAggVO = new RecommendPromotionAggVO();
recommendPromotionAggVO.setPromotionInfoId(1);
recommendPromotionAggVO.setCoverImgUrl("sdf");
recommendPromotionAggVO.setTitle("dfas");
System.out.println(JSON.toJSONString(recommendPromotionAggVO));
;
}
}