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