max / goingson
| 1 | //! Weekly review domain types. |
| 2 | |
| 3 | use ; |
| 4 | use ; |
| 5 | use crate; |
| 6 | |
| 7 | // ============ Weekly Review ============ |
| 8 | |
| 9 | /// A weekly review record tracking completion status. |
| 10 | |
| 11 | |
| 12 | |
| 13 | /// Unique identifier. |
| 14 | pub id: WeeklyReviewId, |
| 15 | /// Owner user ID. |
| 16 | pub user_id: UserId, |
| 17 | /// The Monday of the week being reviewed (YYYY-MM-DD). |
| 18 | pub week_start_date: NaiveDate, |
| 19 | /// When the review was completed. |
| 20 | pub completed_at: , |
| 21 | /// Optional notes from the review. |
| 22 | pub notes: String, |
| 23 | /// Days marked as vacation for the coming week (0=Mon, 1=Tue, ... 6=Sun). |
| 24 | pub vacation_days: , |
| 25 | |
| 26 |