feat(data): add daily note + week report entities and report settings

This commit is contained in:
mika kuns
2026-06-03 09:24:23 +02:00
parent f72cfae7d9
commit 10d86b4bd6
3 changed files with 24 additions and 0 deletions

View File

@@ -20,4 +20,8 @@ public sealed class AppSettingsEntity
// JSON array of parent folders remembered by the repo-import modal. // JSON array of parent folders remembered by the repo-import modal.
public string? RepoImportFolders { get; set; } public string? RepoImportFolders { get; set; }
// JSON array of path prefixes whose sessions are excluded from the weekly report.
public string? ReportExcludedPaths { get; set; }
// DayOfWeek the standup happens on; default Wednesday. Drives the report's default range.
public int StandupWeekday { get; set; } = (int)DayOfWeek.Wednesday;
} }

View File

@@ -0,0 +1,10 @@
namespace ClaudeDo.Data.Models;
public sealed class DailyNoteEntity
{
public string Id { get; init; } = Guid.NewGuid().ToString();
public DateOnly Date { get; set; }
public string Text { get; set; } = string.Empty;
public int SortOrder { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
}

View File

@@ -0,0 +1,10 @@
namespace ClaudeDo.Data.Models;
public sealed class WeekReportEntity
{
public string Id { get; init; } = Guid.NewGuid().ToString();
public DateOnly StartDate { get; set; }
public DateOnly EndDate { get; set; }
public string Markdown { get; set; } = string.Empty;
public DateTime GeneratedAt { get; set; } = DateTime.UtcNow;
}