16 lines
394 B
Rust
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>,
|
|
}
|