schangxiang@126.com
2025-05-21 a3a2b238a2626ef8744e7a135f9ca2e2fbb5184c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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; }
        }
    }
}