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

    //  just  for  Meditation
    var type: String? = null
    var isDarkMode = false

    //   兼容评价列表分享H5传参数据结构
    var imageBase64: 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)"
    }


}