PIbd-32_Artamonova_T.V._COP_2/COP/Info/ExcelTableInfo.cs

19 lines
652 B
C#

namespace COP.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>, List<string>), List<int>)> Headers { get; set; }
public ExcelTableInfo (string filePath, string documentTitle, List<T> data, Dictionary<string, ((List<string>, List<string>), List<int>)> headers)
{
FilePath = filePath;
DocumentTitle = documentTitle;
Data = data;
Headers = headers;
}
}
}