PIbd-31_Putincev.D.M._COP_29/COP/PutincevLibrary/Info/ExcelTableInfo.cs

20 lines
644 B
C#
Raw Permalink Normal View History

namespace PutincevLibrary.Info
{
public class ExcelTableInfo<T> where T: class
{
public string FilePath { get; set; } = string.Empty;
public string DocumentTitle { get; set; } = string.Empty;
public List<T>? Data;
public Dictionary<string, (List<(string, string)>, List<int>)> Headers { get; set; }
public ExcelTableInfo (string filePath, string documentTitle, List<T> data, Dictionary<string, (List<(string, string)>, List<int>)> headers)
{
FilePath = filePath;
DocumentTitle = documentTitle;
Data = data;
Headers = headers;
}
}
}