package com.framework.mvvm.model.data

import com.google.gson.annotations.SerializedName

/**
 * ① Api 返回数据容器
 */
data class Model<T>(
    val code: String,
    @SerializedName(value = "message", alternate = ["result"])
    val message: String? = null,
    @SerializedName(value = "data", alternate = ["content"])
    val data: T
)