feat: initial commit

This commit is contained in:
Maulana Sodiqin
2025-03-20 22:41:20 +07:00
parent 955d384f96
commit a90e8662e1
13 changed files with 183 additions and 163 deletions
+13 -2
View File
@@ -1,10 +1,21 @@
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;
#[derive(Clone, Debug, Serialize, Deserialize, ToSchema)]
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct UsersSchema {
pub email: String,
pub fullname: String,
pub password: String,
pub is_active: bool,
}
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct UsersSetNewPasswordSchema {
pub email: String,
pub password: bool,
}
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct UsersActiveInactiveSchema {
pub email: String,
pub is_active: bool,
}