package com.ym.library.net

/**
 * Created by gaoleichao on 2019/6/11
 */
class AppConfig {
    val lua: String = ""
    val md5: String = ""

    var latest_login_info: LatestLoginInfo? = null
    var global_config: GlobalConfig? = null

    var switch: Switch? = null

}

class Switch {
    var superMasterTab: Int = 1
}

class LatestLoginInfo {
    var phoneNo: String? = null
    var nickname: String? = null
    var headimgurl: String? = null
}

class GlobalConfig {
    var ad_sdk_cfg: AdSdkCfg? = null
    var default_tab: String = ""//帮助中心
    var novel_read_award_desc: String = ""//帮助中心
    var wxName: String = ""//帮助中心
    var force_login: Int = 0//帮助中心
    var home_signin: Int = 0
    var to_kandian_withdraw: Int = 0
    var splash_intreval: Long = 0
    var pushUserAccount: String? = ""//邀请
    var first_login_img: List<String>? = null

}

class AdSdkCfg {
    var gdt: AdCfg? = null
    var jrtt: AdCfg? = null
    var kdxf: AdCfg? = null
}

class AdCfg {
    var app_name: String = ""
//    var ad_id: String = ""
    var ad_id: Int = 0
    var app_id: String = ""
    var slot_cfg: SlotCfg? = null
}

class SlotCfg {

    var feed: Value? = null
    var mini_video: Value? = null
    var news_content_bigimg: Value? = null
    var news_content_3img: Value? = null
    var novel_detail: Value? = null
    var novel_content_bigimg: Value? = null
    var exciting_video: Value? = null   //任务页--激励视频 codeid
    var novel_time_award: Value? = null
    var novel_content_bottom: Value? = null
    var bookrack: Value? = null
    var splash: Value? = null
    var novel_short_video_feed: Value? = null
    var prize_draw_bottom: Value? = null
    var prize_draw_result: Value? = null
    var signIn_result: Value? = null
    var mini_video_list: Value? = null
    var novel_feed_award_video: Value? = null
    var novel_mini_award_video: Value? = null
    var novel_svideos_awardt_video: Value? = null
    var prize_draw_video: Value? = null
    var transform_limit_Video: Value? = null
    var daily_active_video: Value? = null
    var daily_active_bigimage: Value? = null
    var new_user_award_bigimage: Value? = null


    var signin_popup: Value? = null //签到 目前为穿山甲id
    var bubble_popup: Value? = null //气泡 目前为穿山甲id
    var signin_popup_video: Value? = null //签到弹窗翻倍--激励视频 codeid
    var bubble_popup_video: Value? = null //气泡弹窗翻倍--激励视频 codeid

    var chengjiu_popup_video: Value? = null //成就殿堂 激励视屏
    var chengjiu_popup_bigimage: Value? = null//成就殿堂 大图广告
    var personal_page_bigimage: Value? = null//我的页面 大图广告
    var signin_popup_bigimage: Value? = null//签到 大图广告

}


class Value {
    var key: String = ""
}