feat: user relation

This commit is contained in:
Maulana Sodiqin
2025-03-14 17:50:37 +07:00
parent 9ffe808797
commit 7ab036f5f7
22 changed files with 358 additions and 28 deletions
+1
View File
@@ -1,3 +1,4 @@
pub mod users_dto;
pub mod users_schema;
pub use users_dto::*;
+10
View File
@@ -0,0 +1,10 @@
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;
#[derive(Clone, Debug, Serialize, Deserialize, ToSchema)]
pub struct UsersSchema {
pub id: String,
pub email: String,
pub fullname: String,
pub password: String,
}