//! `households` koleksiyonu (DATA_MODEL.md §3.2). use mongodb::bson::{Document, doc}; use serde::Deserialize; /// Veritabanından okunan hane (yalnızca ihtiyaç duyulan alanlar). #[derive(Debug, Deserialize)] pub struct Household { pub name: String, } /// Yeni hane için varsayılan ayarlar. pub fn default_settings() -> Document { doc! { "currency": "TRY", "budget_split_pct": { "needs": 50, "wants": 30, "culture": 10, "unexpected": 10 }, "budget_suggestion": "default", } }