package com.carmaintenance.data.model

import com.google.gson.annotations.SerializedName

/**
 * 登录请求
 */
data class LoginRequest(
    @SerializedName("username")
    val username: String,
    @SerializedName("password")
    val password: String
)

/**
 * 登录响应数据
 */
data class LoginResponseData(
    @SerializedName("token")
    val token: String,
    @SerializedName("userInfo")
    val userInfo: User
)
