ShareBean.java
1.85 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
package com.polysoft.nafmii.wechat;
import com.alibaba.fastjson.annotation.JSONField;
public class ShareBean {
@JSONField(name = "shareType")
private String shareType;//分享类型 0文字 1图片 2url网址
@JSONField(name = "title")
private String title;//分享标题
@JSONField(name = "content")
private String content;//分享内容 文字 图片 展示的网页描述
@JSONField(name = "scene")
private String scene;//场景 0朋友圈 1好友
@JSONField(name = "webUrl")
private String webUrl;//分享链接
@JSONField(name = "webImg")
private String webImg;//网页位图
public String getWebImg() {
return webImg;
}
public void setWebImg(String webImg) {
this.webImg = webImg;
}
public String getShareType() {
return shareType;
}
public void setShareType(String shareType) {
this.shareType = shareType;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getScene() {
return scene;
}
public void setScene(String scene) {
this.scene = scene;
}
public String getWebUrl() {
return webUrl;
}
public void setWebUrl(String webUrl) {
this.webUrl = webUrl;
}
@Override
public String toString() {
return "WeChatShareBean{" +
"shareType='" + shareType + '\'' +
", title='" + title + '\'' +
", content='" + content + '\'' +
", scene='" + scene + '\'' +
", webUrl='" + webUrl + '\'' +
", webImg='" + webImg + '\'' +
'}';
}
}