编辑 | blame | 历史 | 原始文档
using MiniExcelLibs.Attributes;
using System.ComponentModel.DataAnnotations;
using System;
using System.ComponentModel;
using CMS.Plugin.$NameSpacePath$.Domain.Shared.Enums;
namespace CMS.Plugin.$NameSpacePath$.Application.Contracts.Dtos.$EntityName$;

/// 
/// $ChinaComment$µ¼³öÄ£ÐÍ
/// 
public  class $EntityName$ExportModel
{
    $AddAttributes$

    public Dictionary GetExportData()
        {
            var exportData = new Dictionary();
            foreach (var property in this.GetType().GetProperties())
            {
                exportData.Add(property.Name, property.GetValue(this));
            }

            return exportData;
        }
}