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


    }
}
