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.WmsInOutStockOrder;
///
/// 出入库单据数据参数对象
///
public class WmsInOutStockOrderDto: ExtensibleEntityDto, IHasConcurrencyStamp
{
///
/// 单据编号
///
public string OrderNo { get; set; }
///
/// 单据状态
///
public OrderStatusEnum OrderStatus { get; set; }
///
/// 单据状态
///
public string OrderStatusDesc
{
get
{
return GetEnumDescriptionUtil.GetEnumDescription(OrderStatus);
}
}
///
/// 物料名称
///
public string? MaterialName { get; set; }
///
/// 物料件号
///
public string MaterialNo { get; set; }
///
/// 型号
///
public string? MaterialModel { get; set; }
///
/// 批次号
///
public string MaterialBatch { get; set; }
///
/// 单据类型
///
public OrderTypeEnum OrderType { get; set; }
///
/// 单据类型
///
public string OrderTypeDesc
{
get
{
return GetEnumDescriptionUtil.GetEnumDescription(OrderType);
}
}
///
/// 操作类型(枚举值)
///
public StockTypeEnum StockType { get; set; }
///
/// 操作类型(枚举值)
///
public string StockTypeDesc
{
get
{
return GetEnumDescriptionUtil.GetEnumDescription(StockType);
}
}
///
/// 单据数量
///
public int MaterialNumber { get; set; }
///
/// 下发数量
///
public int DistributeNumber { get; set; }
///
/// 完成数量
///
public int CompleteNumber { get; set; }
///
/// 优先级
///
public int Priority { get; set; }
///
/// 关联计划编号
///
public string? PlanNo { get; set; }
///
/// 操作时间
///
public DateTime? OperateTime { get; set; }
///
/// 备注
///
public string? Remark { 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;
}
}