Thor/Thor.Shared/Entry.cs
2025-02-10 18:38:27 +01:00

27 lines
667 B
C#

namespace Thor.Shared;
public class Entry
{
public enum EntryType
{
Metadata,
Set,
Comment,
Observation,
Attachement,
Show
}
public string Identifier { get; set; }
public string Author { get; set; }
public EntryType Type { get; set; }
public string Target { get; set; }
public DateTime When { get; set; } = DateTime.Now;
public ItemAnswer.State? State { get; set; } = null;
public string? Content { get; set; } = null;
public string? Observation { get; set; } = null;
public string? Attachment { get; set; } = null;
public bool? Display { get; set; } = null;
}