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

16 lines
394 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 UserPasswordModel {
pub user: Uuid,
pub hash: String,
pub salt: String,
pub is_active: bool,
pub reason: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}