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.WmsInOutStockRecord; /// /// 出入库记录数据参数对象 /// public class WmsInOutStockRecordDto : ExtensibleEntityDto, IHasConcurrencyStamp { /// /// 单据编号 /// public string OrderNo { get; set; } /// /// 物料名称 /// public string? MaterialName { get; set; } /// /// 物料件号 /// public string MaterialNo { get; set; } /// /// 操作类型 /// public StockTypeEnum StockType { get; set; } /// /// 操作类型 /// public string StockTypeDesc { get { return GetEnumDescriptionUtil.GetEnumDescription(StockType); } } /// /// 容器编号 /// public string? ContainerNo { get; set; } /// /// 机型 /// public string? MaterialModel { get; set; } /// /// 操作时间 /// public DateTime? OperateTime { get; set; } /// /// 备注 /// public string? Remark { get; set; } /// /// 物料ID /// public string MaterialId { get; set; } /// /// 任务号 /// public string TaskNo { get; set; } /// /// 起始库位 /// public string? SourcePlace { get; set; } /// /// 目标库位 /// public string? ToPlace { get; set; } /// /// 排序 /// public int Sort { get; set; } /// /// 是否禁用 /// public bool? IsDisabled { get; set; } /// /// /// public ExtraPropertyDictionary? ExtraProperties { get; set; } /// /// /// public string? ConcurrencyStamp { get; set; } /// /// /// public DateTime CreationTime { get; set; } /// /// /// public string? CreatorId { get; set; } /// /// /// public DateTime? LastModificationTime { get; set; } /// /// /// public string? LastModifierId { get; set; } /// /// /// public bool IsDeleted { get; set; } /// /// /// public string? DeleterId { get; set; } /// /// /// public DateTime? DeletionTime { 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; } }