ShareData.kt 987 Bytes
Newer Older
1
package com.ydl.ydlcommon.bean
konghaorui committed
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

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)"
    }


}