TableCell class was added

This commit is contained in:
Evgeny Redikultsev
2024-01-27 21:19:06 +05:00
parent a9ffd8b903
commit a680e67ab3
13 changed files with 144 additions and 51 deletions

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelperCommon.Models.Tables
{
/// <inheritdoc/>
public class ShTableCell<T> : IShTableCell<T>
{
/// <inheritdoc/>
public T Value { get; set; }
/// <inheritdoc/>
public int ColumnSpan { get; set; }
/// <inheritdoc/>
public CellRole Role { get; set; }
public ShTableCell()
{
Role = CellRole.Regular;
ColumnSpan = 1;
}
}
}