PIbd-21_MasenkinMS_Aircraft.../AircraftPlant/AircraftPlantBusinessLogic/OfficePackage/HelperModels/ExcelCellParameters.cs

41 lines
1.1 KiB
C#
Raw Normal View History

2024-03-25 00:53:24 +04:00
using AircraftPlantBusinessLogic.OfficePackage.HelperEnums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AircraftPlantBusinessLogic.OfficePackage.HelperModels
{
/// <summary>
/// Модель для описания свойств ячейки
/// </summary>
public class ExcelCellParameters
{
/// <summary>
/// Название колонки
/// </summary>
public string ColumnName { get; set; } = string.Empty;
/// <summary>
/// Номер строки
/// </summary>
public uint RowIndex { get; set; }
/// <summary>
/// Текст колонки
/// </summary>
public string Text { get; set; } = string.Empty;
/// <summary>
/// Получение ячейки
/// </summary>
public string CellReference => $"{ColumnName}{RowIndex}";
/// <summary>
/// Стиль ячейки
/// </summary>
public ExcelStyleInfoType StyleInfo { get; set; }
}
}