1
2
3
4
5
6
7
8
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize)]
#[cfg_attr(feature = "poem_openapi", derive(poem_openapi::Object))]
pub struct LoginDto {
    pub username: String,
    pub password: String,
}