mirror of
				https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
				synced 2025-10-30 17:55:32 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			855 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			855 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| namespace HaWeb.Models;
 | |
| using HaWeb.XMLParser;
 | |
| using Microsoft.Extensions.FileProviders;
 | |
| using Microsoft.AspNetCore.Mvc.Rendering;
 | |
| 
 | |
| public class UploadViewModel {
 | |
|     public string ActiveTitle { get; private set; }
 | |
|     public string? Prefix { get; private set; }
 | |
|     public List<IXMLRoot>? AvailableRoots { get; private set; }
 | |
|     public List<FileModel>? AvailableFiles { get; set; }
 | |
|     public Dictionary<string, List<FileModel>?>? UsedFiles { get; private set; }
 | |
|     public Dictionary<string, List<FileModel>?>? ProductionFiles { get; set; }
 | |
| 
 | |
|     public List<FileModel>? HamannFiles { get; set; }
 | |
| 
 | |
|     public UploadViewModel(string title, string? prefix, List<IXMLRoot>? roots, Dictionary<string, List<FileModel>?>? usedFiles) {
 | |
|         Prefix = prefix;
 | |
|         ActiveTitle = title;
 | |
|         AvailableRoots = roots;
 | |
|         UsedFiles = usedFiles;
 | |
|     }
 | |
| } | 
