Files
Flypaper/src/Flypaper.Storage/Entities/LabEntryEntity.cs
T
TomandClaude Opus 5.5 e88dc415f9
Build and deploy / build (push) Successful in 1m50s
Build and deploy / deploy (push) Successful in 21s
Add research page with MCP write tools, longer hold for repeat offenders and svn/hg decoys
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:27:35 +01:00

34 lines
715 B
C#

namespace Flypaper.Storage.Entities;
public enum LabEntryKind
{
Experiment,
Observation,
Hypothesis,
Method
}
public sealed class LabEntryEntity
{
public int Id { get; set; }
public DateTime Date { get; set; }
public required string Title { get; set; }
public LabEntryKind Kind { get; set; }
public required string Text { get; set; }
public string? Commit { get; set; }
public string? Strategies { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
public IReadOnlyList<string> StrategyList =>
(Strategies ?? "").Split(',', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries);
}