mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
Created FileList with ability to set used files
This commit is contained in:
@@ -8,10 +8,10 @@ public class FileModel {
|
||||
public bool InProduction { get; private set; }
|
||||
public List<(string, string?)>? Fields { get; set; }
|
||||
|
||||
public FileModel(string name, string prefix, DateTime lastModified, bool isUSed, bool inProduction) {
|
||||
public FileModel(string name, string prefix, DateTime lastModified, bool isUsed, bool inProduction) {
|
||||
FileName = name;
|
||||
IsUsed = IsUsed;
|
||||
IsUsed = isUsed;
|
||||
LastModified = lastModified;
|
||||
InProduction = InProduction;
|
||||
InProduction = inProduction;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ public class UploadViewModel {
|
||||
public Dictionary<string, List<FileModel>?>? UsedFiles { get; private set; }
|
||||
public Dictionary<string, List<FileModel>?>? ProductionFiles { get; set; }
|
||||
|
||||
public List<(string, DateTime)>? HamannFiles { get; set; }
|
||||
public List<FileModel>? HamannFiles { get; set; }
|
||||
|
||||
public UploadViewModel(string title, string? prefix, List<IXMLRoot>? roots, Dictionary<string, List<FileModel>?>? usedFiles) {
|
||||
Prefix = prefix;
|
||||
|
||||
Reference in New Issue
Block a user