COP/ExcelComponents/Models/TableConfig.cs
2024-07-29 20:21:07 +04:00

26 lines
593 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExcelComponents.Models
{
public class TableConfig<T> : ExcelConfig
{
public string[] Headers { get; set; }
public double[] ColWidth { get; set; }
public T[] Data { get; set; }
public string[] Props { get; set; }
public Dictionary<int, int> Merge { get; set; }
public TableConfig()
{
Headers = Array.Empty<string>();
ColWidth = Array.Empty<double>();
Data = Array.Empty<T>();
Merge = new();
Props = Array.Empty<string>();
}
}
}