Thor/Thor.Shared/Model/TemplateEntry.cs
2025-03-21 07:19:48 +01:00

31 lines
534 B
C#

namespace Thor.Shared.Model;
public class TemplateEntry
: EntryBase
{
public const string TYPE_TITLE = "t";
public const string TYPE_ITEM = "i";
public enum EntryType
{
Set,
Comment,
Delete,
Restore
}
public enum FieldType
{
Type,
Parent,
Order,
Label,
Description,
Reference
}
public EntryType Type { get; set; }
public FieldType? Field { get; set; } = null;
public string? Content { get; set; }
}