add core models

This commit is contained in:
2022-10-03 22:20:01 +02:00
parent 8c51b68523
commit b01b33f7d1
11 changed files with 58 additions and 2 deletions

View File

@@ -1,11 +1,11 @@
pub mod requests;
pub mod responses;
use serde::{Deserialize, Serialize};
use uuid::Uuid;
#[derive(Serialize, Deserialize, Debug)]
pub struct UserDto {
#[serde(skip_serializing, skip_deserializing)]
pub id: Uuid,
pub username: String,
pub email: String,