package com.ydl.ydlcommon.bean

import com.google.gson.annotations.SerializedName
import java.io.Serializable

/**
 * 分享参数
 * Created by Administrator on 2017/8/4 0004.
 */
class ShareData : Serializable {
    @field:SerializedName(value = "share_url", alternate = ["shareUrl"])
    var share_url: String? = null
    var title: String? = null
    var cover: String? = null
    var desc: String? = null

    //分享到动态url
    var url: String? = null

    //小程序页面地址
    var minProgramPath : String? = null
    //小程序原始id
    var minProgramId : String? = null

    constructor() : super()

    constructor(share_url: String?, title: String?, cover: String?, desc: String?) : super() {
        this.title = title
        this.share_url = share_url
        this.desc = desc
        this.cover = cover
    }

    override fun toString(): String {
        return "ShareData(share_url=$share_url, title=$title, cover=$cover, desc=$desc, url=$url)"
    }


}