222
schangxiang@126.com
2025-05-06 0daf61c579df262a70f40be7546d218c07047c16
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
 
namespace CMS.Plugin.$NameSpacePath$.Application.Contracts.Dtos.$EntityName$
{
    /// <summary>
    /// $ChinaComment$µ¼ÈëÄ£ÐÍ
    /// </summary>
    public class $EntityName$sImportModel
    {
        private List<$EntityName$ImportModel> _$EntityName$s = new();
 
        public List<$EntityName$ImportModel> $EntityName$s
        {
            get => _$EntityName$s;
            set
            {
                _$EntityName$s = value;
                var rowIndex = 2;
                _$EntityName$s?.ForEach(x => x.RowIndex = rowIndex++);
            }
        }
 
        /// <summary>
        /// $ChinaComment$µ¼ÈëÄ£ÐÍ
        /// </summary>
        public class $EntityName$ImportModel : $EntityName$ExportModel
        {
            /// <summary>
            /// ÐкÅ
            /// </summary>
            public int RowIndex { get; set; }
        }
    }
}