32 lines
876 B
C#
32 lines
876 B
C#
|
|
namespace ComponentsLibrary
|
|
{
|
|
public class DocumentTable<T>
|
|
{
|
|
public string DocumentTitle { get; set; } = string.Empty;
|
|
public string DocumentPath { get; set; } = string.Empty;
|
|
public List<int> MergedColumns { get; set; }
|
|
public List<double> ColumnWidths { get; set; }
|
|
public List<string> Headers { get; set; }
|
|
public List<T> Data { get; set; }
|
|
public List<string> PropertyMappings { get; set; }
|
|
|
|
public DocumentTable(string documentTitle,
|
|
string documentPath,
|
|
List<int> mergedColumns,
|
|
List<double> columnWidths,
|
|
List<string> headers,
|
|
List<T> data,
|
|
List<string> propertyMappings)
|
|
{
|
|
DocumentTitle = documentTitle;
|
|
DocumentPath = documentPath;
|
|
MergedColumns = mergedColumns;
|
|
ColumnWidths = columnWidths;
|
|
Headers = headers;
|
|
Data = data;
|
|
PropertyMappings = propertyMappings;
|
|
}
|
|
}
|
|
}
|