31 lines
534 B
C#
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; }
|
|
}
|