package com.gingersoft.gsa.delivery_pick_mode.data.model.bean

import androidx.databinding.ObservableArrayList
import java.io.Serializable

data class DeliveryConfig(
        val `data`: Data,
        val success: Boolean,
        val sysTime: Long) {

    data class Data(val list: ObservableArrayList<DeliveryInfo>) {
        data class DeliveryInfo (
                val addressDetail: String,
                val deliveryCost: Double,
                val desc: String,
                val distributionFee: Double,
                val distributionFeeMax: Double,
                val distributionFeeMin: Double,
                val distributionType: String,//區分當前是什麼類型的配送方式
                val id: Int,
                val mapX: String,
                val mapY: String,
                val restaurantId: Int,
                val restaurantName: String,
                val restaurantPhone: String,
                val lackPrice:Double,
                val type: Int,//為1時是第三方配送
                val createBy:Int
        ) : Serializable
    }

}