//! Daily review note domain types. use chrono::{DateTime, NaiveDate, Utc}; use serde::{Deserialize, Serialize}; use crate::id_types::{DailyNoteId, UserId}; /// A daily review note capturing end-of-day reflection. #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct DailyNote { pub id: DailyNoteId, pub user_id: UserId, pub note_date: NaiveDate, pub went_well: String, pub could_improve: String, pub is_reviewed: bool, pub reviewed_at: Option>, pub created_at: DateTime, pub updated_at: DateTime, }