use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
use sqlx::FromRow;
use uuid::Uuid;

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
pub struct UserEmailModel {
    pub user: Uuid,
    pub email: String,
    pub created_at: DateTime<Utc>,
    pub active: bool,
    pub last_use_login: Option<DateTime<Utc>>,
    pub updated_at: DateTime<Utc>,
}
