package ru.myitschool.work.data.dto

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class AuthRequestDto(
    @SerialName("login")
    val login: String,
    @SerialName("password")
    val password: String,
)

@Serializable
data class AuthResponseDto(
    @SerialName("token")
    val token: String,
    @SerialName("expired")
    val expired: Int,
)