using CMS.Plugin.HIAWms.Domain.Shared.Enums; using Volo.Abp.Application.Dtos; using Volo.Abp.Domain.Entities; namespace CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsMaterialInfos; /// /// WmsMaterialInfo数据参数对象 /// public class WmsMaterialInfoDto : ExtensibleEntityDto, IHasConcurrencyStamp { /// /// 物料代号 /// public string MaterialNo { get; set; } /// /// 物料名称 /// public string MaterialName { get; set; } /// /// 机型 /// public string? MaterialModel { get; set; } /// /// 物料唯一码 /// public string MaterialId { get; set; } /// /// 数量 /// public int? StockNumber { get; set; } /// /// 物料批号 /// public string? MaterialBatch { get; set; } /// /// 供应商编号 /// public string? SupplierCode { get; set; } /// /// 检验状态 /// public MaterialCheckStatusEnum? CheckStatus { 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; } }