using CMS.Plugin.HIAWms.Domain.Shared.Enums; using CmsQueryExtensions; using Volo.Abp.Application.Dtos; using Volo.Abp.Data; using Volo.Abp.Domain.Entities; namespace CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsInOutStockOrderDetail; /// /// 出入库单据详情数据参数对象 /// public class WmsInOutStockOrderDetailDto: ExtensibleEntityDto, IHasConcurrencyStamp { /// /// 单据编号 /// public string OrderNo { get; set; } /// /// 物料唯一码 /// public string MaterialId { get; set; } /// /// 单据类型(枚举值) /// public OrderTypeEnum OrderType { get; set; } /// /// 单据类型(枚举值) /// public string OrderTypeDesc { get { return GetEnumDescriptionUtil.GetEnumDescription(OrderType); } } /// /// 物料件号 /// public string MaterialNo { get; set; } /// /// 物料名称 /// public string? MaterialName { get; set; } /// /// 容器编号 /// public string? ContainerNo { get; set; } /// /// 机型 /// public string? MaterialModel { get; set; } /// /// 物料批次 /// public int? MaterialBatch { get; set; } /// /// /// public string? ConcurrencyStamp { get; set; } /// /// 是否禁用 /// public DateTime CreationTime { get; set; } /// /// /// public string? CreatorId { get; set; } /// /// /// public string? DeleterId { get; set; } /// /// /// public DateTime? DeletionTime { get; set; } /// /// /// public ExtraPropertyDictionary? ExtraProperties { get; set; } /// /// /// public bool IsDeleted { get; set; } /// /// 是否禁用 /// public bool? IsDisabled { get; set; } /// /// /// public DateTime? LastModificationTime { get; set; } /// /// /// public string? LastModifierId { get; set; } /// /// 备注 /// public string? Remark { get; set; } /// /// 排序 /// public int Sort { 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; } }