mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
Started to design MetaData for Letters
This commit is contained in:
@@ -4,9 +4,15 @@ using HaDocument.Models;
|
||||
public class BriefeMetaViewModel
|
||||
{
|
||||
public Meta Meta { get; private set; }
|
||||
public bool ShowSurroundingLetterLinks { get; private set; }
|
||||
public bool ShowPDFButton { get; private set; }
|
||||
|
||||
public string? ParsedSenders { get; set; }
|
||||
public string? ParsedReceivers { get; set; }
|
||||
|
||||
public (BriefeMetaViewModel, string)? Next { get; set; }
|
||||
public (BriefeMetaViewModel, string)? Prev { get; set; }
|
||||
|
||||
|
||||
public BriefeMetaViewModel(Meta meta)
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ public class BriefeViewModel
|
||||
{
|
||||
public string Id { get; private set; }
|
||||
public string Index { get; private set; }
|
||||
public BriefeMetaViewModel Meta { get; private set; }
|
||||
public BriefeMetaViewModel MetaData { get; private set; }
|
||||
|
||||
public string? ParsedText { get; set; }
|
||||
public string? ParsedLineCount { get; set; }
|
||||
@@ -13,13 +13,10 @@ public class BriefeViewModel
|
||||
public List<string>? ParsedEdits { get; set; }
|
||||
public List<string>? ParsedHands { get; set; }
|
||||
|
||||
public (BriefeMetaViewModel, string)? Next { get; set; }
|
||||
public (BriefeMetaViewModel, string)? Prev { get; set; }
|
||||
|
||||
public BriefeViewModel(string id, string index, BriefeMetaViewModel meta)
|
||||
{
|
||||
Id = id;
|
||||
Index = index;
|
||||
Meta = meta;
|
||||
MetaData = meta;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user