Files
pawctioneer-bot/src/db/models/user_settings.rs
Dylan Knutson 34de9b6d59 Major refactor: restructure new listing command and update data models
- Refactor new_listing from single file to modular structure
- Add handler factory pattern for state management
- Improve keyboard utilities and validations
- Update database models for bid, listing, and user systems
- Add new types: listing_duration, user_row_id
- Remove deprecated user_id type
- Update Docker configuration
- Enhance test utilities and message handling
2025-08-29 10:21:39 -07:00

15 lines
339 B
Rust

use chrono::{DateTime, Utc};
use sqlx::FromRow;
/// User preferences and settings
#[derive(Debug, Clone, FromRow)]
#[allow(unused)]
pub struct UserSettings {
pub user_id: i64,
pub language_code: String,
pub notify_outbid: bool,
pub notify_won: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}