ShareBean.java 1.85 KB
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 + '\'' +
                '}';
    }
}