26 lines
593 B
C#
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>();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|