mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
Added Models for displaying files and all kinds of stuff
This commit is contained in:
17
HaWeb/Models/FileModel.cs
Normal file
17
HaWeb/Models/FileModel.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace HaWeb.Models;
|
||||
|
||||
public class FileModel {
|
||||
public string FileName { get; private set; }
|
||||
public string Prefix { get; private set; }
|
||||
public DateTime LastModified { get; private set; }
|
||||
public bool IsUsed { get; private set; }
|
||||
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) {
|
||||
FileName = name;
|
||||
IsUsed = IsUsed;
|
||||
LastModified = lastModified;
|
||||
InProduction = InProduction;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user