HomeFMBean.kt 1.84 KB
Newer Older
konghaorui committed
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
package com.ydl.component.model

import com.google.gson.annotations.SerializedName


/**
 * Created by haorui on 2019/2/14.
 * Des:首页电台模块参数
 */
class HomeFMBean{
    var endRow: Int = 0
    var isHasNextPage: Boolean = false
    var isHasPreviousPage: Boolean = false
    var isIsFirstPage: Boolean = false
    var isIsLastPage: Boolean = false
    var navigateFirstPage: Int = 0
    var navigateLastPage: Int = 0
    var navigatePages: Int = 0
    var nextPage: Int = 0
    var pageNum: Int = 0
    var pageSize: Int = 0
    var pages: Int = 0
    var prePage: Int = 0
    var size: Int = 0
    var startRow: Int = 0
    var total: Int = 0
    var list: List<ListBean>? = null
    var navigatepageNums: List<Int>? = null

    class ListBean {
        var adminId: Int = 0
        var appImg: String? = null
        @SerializedName("author")
        var artist: String? = null
        var categoryId: Int = 0
        var createTime: String? = null
        @SerializedName("description")
        var album: String? = null
        /**
         * 喜欢人数
         */
        var favorites: Int = 0
        /**
         * 电台地址
         */
        @SerializedName("fmUrl")
        var path: String? = null
        /**
         * 收听人数
         */
        var hits: Int = 0
        var id: Int = 0
        /**
         * 封面地址
         */
        @SerializedName("imageUrl")
        var  coverPath: String? = null
        var isOriginal: String? = null
        var isShow: String? = null
        @SerializedName("name")
        var title: String? = null
        var orderNum: Int = 0
        var period: String? = null
        var shareCount: Int = 0
        var updateTime: String? = null
        override fun toString(): String {
            return "ListBean(artist=$artist, album=$album, coverPath=$coverPath, title=$title)"
        }


    }
}