gitdataai/lib/model/users/user_profile.rs
2026-05-30 01:38:40 +08:00

16 lines
368 B
Rust

use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
use sqlx::FromRow;
use uuid::Uuid;
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
pub struct UserProfileModel {
pub user: Uuid,
pub language: String,
pub theme: String,
pub timezone: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}