adding endpoints

This commit is contained in:
2026-09-18 12:45:11 -04:00
commit 29c8d0f27d
34 changed files with 1842 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
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,
}