using CMS.Plugin.PipeLineLems.Domain.Shared.Enums;
using CmsQueryExtensions;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Data;
using Volo.Abp.Domain.Entities;
namespace CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.CallMaterialOrderRecord;
///
/// 叫料记录表数据参数对象
///
public class CallMaterialOrderRecordDto: ExtensibleEntityDto, IHasConcurrencyStamp
{
///
/// 原料标识
///
public string DataIdentifier { get; set; }
///
/// 原料型号
///
public string? MaterialMode { get; set; }
///
/// 叫料状态
///
public CallMaterialStatusEnum CallMaterialStatus { get; set; }
///
/// 叫料状态
///
public string CallMaterialStatusDesc
{
get
{
return GetEnumDescriptionUtil.GetEnumDescription(CallMaterialStatus);
}
}
///
/// 叫料数量
///
public int Quantity { get; set; }
///
/// WMS返回结果
///
public string? WmsRetResult { get; set; }
///
/// WMS任务号
///
public string? WmsTaskNo { get; set; }
///
/// 扩展属性
///
public ExtraPropertyDictionary? ExtraProperties { get; set; }
///
/// 并发戳
///
public string? ConcurrencyStamp { get; set; }
///
/// 创建时间
///
public DateTime CreationTime { get; set; }
///
/// 创建人ID
///
public string? CreatorId { get; set; }
///
/// 修改时间
///
public DateTime? LastModificationTime { get; set; }
///
/// 修改人ID
///
public string? LastModifierId { get; set; }
///
/// 是否删除
///
public bool IsDeleted { get; set; }
///
/// 删除人ID
///
public string? DeleterId { get; set; }
///
/// 删除时间
///
public DateTime? DeletionTime { get; set; }
///
/// 创建人
///
public string? CreatorName { get; set; }
///
/// 排序
///
public int Sort { get; set; }
///
/// 备注
///
public string? Remark { get; set; }
///
/// 扩展字段1
///
public string? ExtraField1 { get; set; }
///
/// 扩展字段2
///
public string? ExtraField2 { get; set; }
///
/// 扩展字段3
///
public string? ExtraField3 { 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;
}
}