package com.zxhl.cms.net.model.box

import java.io.Serializable

class AppInEntity {
    var pay_ali: String? = ""
    var pay_wx: String? = ""
    var pay_wx_type: Int? = 0
    var feedback_open: String? = ""
    var depots_text: String? = ""
    var recover_type: String = ""
    var login: String = ""//1开启 0 关闭
    var pay_config: PayConfig? = null
    var pay_config_v2: List<PayFun>? = null
    var box_price_config: List<BoxPriceConfig>? = null

    var risk_text: String = ""//
    var risk_open: String = ""//1开启 0 关闭
    var kefu_url: String = ""//客服地址
    var card_desc: String = ""//权益说明
    var recharge_desc: String? = ""//充值说明
    var tabs: List<TabEntity>? = null//tab
    var pay_h5_url: String = ""//支付配置

    var mobileOpList: List<MobileOpEntity>? = null
    var switch: ServiceConfig? = null

}

class MobileOpEntity {
    var name: String? = ""
    var value: String? = ""
}

class PayFun : Serializable {
    var open: Int? = 0
    var type: Int? = 0
    var title: String? = ""
    var icon: String? = ""
}

class PayConfig {
    var ali_ming: MinPay? = null
    var ali: aliPay? = null

    class MinPay {
        var type: Int? = 0
        var title: String? = ""
        var open: Int? = 0
    }

    class aliPay {
        var type: Int? = 0
        var title: String? = ""
        var open: Int? = 0
    }

}

class BoxPriceConfig {
    var boxNum: Int = 0;
    var boxDiscount: Double = 0.0;
}

class ServiceConfig {
    var customer_service_switch: Boolean = false
}
