27 lines
667 B
C#
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;
|
|
} |