use chrono::NaiveDateTime; use serde::Serialize; use crate::database::types::WorkTime; #[derive(Debug, Serialize, sqlx::FromRow, utoipa::ToSchema)] pub struct User { pub id: i32, pub name: String, pub last_name: String, pub preference: WorkTime, pub date_created: NaiveDateTime, pub date_updated: NaiveDateTime, }