feat(data): add daily note + week report entities and report settings
This commit is contained in:
@@ -20,4 +20,8 @@ public sealed class AppSettingsEntity
|
||||
|
||||
// JSON array of parent folders remembered by the repo-import modal.
|
||||
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;
|
||||
}
|
||||
|
||||
10
src/ClaudeDo.Data/Models/DailyNoteEntity.cs
Normal file
10
src/ClaudeDo.Data/Models/DailyNoteEntity.cs
Normal 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;
|
||||
}
|
||||
10
src/ClaudeDo.Data/Models/WeekReportEntity.cs
Normal file
10
src/ClaudeDo.Data/Models/WeekReportEntity.cs
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user