using Volo.Abp.Application.Dtos; using Volo.Abp.Domain.Entities; namespace CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.MyTestEntityNames; /// /// MyTestEntityName数据参数对象 /// public class MyTestEntityNameDto : ExtensibleEntityDto, IHasConcurrencyStamp { /// /// 编号 /// public virtual string Code { get; set; } /// /// 名称 /// public virtual string Name { get; set; } /// /// 排序 /// public virtual int Sort { get; set; } /// /// 备注 /// public virtual string Remark { get; set; } /// /// 是否禁用 /// public virtual bool? IsDisabled { get; set; } /// /// 并发戳 /// public string ConcurrencyStamp { get; set; } /// /// Gets the export data. /// /// public Dictionary GetExportData() { var exportData = new Dictionary(); foreach (var property in this.GetType().GetProperties()) { exportData.Add(property.Name, property.GetValue(this)); } return exportData; } }