feat: user relation
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
pub mod users_dto;
|
||||
pub mod users_schema;
|
||||
|
||||
pub use users_dto::*;
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
Reference in New Issue
Block a user