|
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; }
|
}
|
}
|
}
|