Files
hamann-ausgabe-core/HaWeb/Models/FileModel.cs
2022-06-19 01:58:07 +02:00

18 lines
617 B
C#

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;
Prefix = prefix;
}
}