using static CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.MyTestEntityNames.MyTestEntityNamesExportModel;
|
|
namespace CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.MyTestEntityNames
|
{
|
/// <summary>
|
/// MyTestEntityNames导入模型
|
/// </summary>
|
public class MyTestEntityNamesImportModel
|
{
|
private List<MyTestEntityNameImportModel> _mytestentitynames = new();
|
|
public List<MyTestEntityNameImportModel> MyTestEntityNames
|
{
|
get => _mytestentitynames;
|
set
|
{
|
_mytestentitynames = value;
|
var rowIndex = 2;
|
_mytestentitynames?.ForEach(x => x.RowIndex = rowIndex++);
|
}
|
}
|
|
/// <summary>
|
/// MyTestEntityName导入模型
|
/// </summary>
|
public class MyTestEntityNameImportModel : WorkSectionExportModel
|
{
|
/// <summary>
|
/// 行号
|
/// </summary>
|
public int RowIndex { get; set; }
|
}
|
}
|
}
|