package id.iiyh.inatrading.core.data.remote.model

data class ApiResponse<T>(
    val responseCode: String? = null,
    val responseDesc: String? = null,
    val data: T? = null,
) {
    val isSuccess: Boolean get() = responseCode == "0000"
}

data class LoginData(
    val id: String? = null,
    val name: String? = null,
    val session: String? = null,
    val userType: String? = null,
    val isSellerActive: Boolean? = null,
)
