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.WorkPlan;
///
/// 作业计划表数据参数对象
///
public class WorkPlanDto: ExtensibleEntityDto, IHasConcurrencyStamp
{
///
/// 任务编码
///
public string TaskCode { get; set; }
///
/// 原料标识
///
public string? DataIdentifier { get; set; }
///
/// 原料型号
///
public string? MaterialMode { get; set; }
///
/// 长度(mm)
///
public decimal Length { get; set; }
///
/// 打码内容
///
public string? MarkingContent { get; set; }
///
/// 打码位置
///
public decimal MarkingPosition { get; set; }
///
/// 切割位置
///
public decimal CuttingPosition { get; set; }
///
/// 管段数量
///
public int Quantity { get; set; }
///
/// 法兰厚度(mm)
///
public decimal FlangeThickness { get; set; }
///
/// 法兰直径(mm)
///
public decimal FlangeInnerDiameter { get; set; }
///
/// 法兰公称压力
///
public string? WeldingHeatInput { get; set; }
///
/// 法兰冲码内容
///
public string? PipeAllowableStress { get; set; }
///
/// 套管长度(mm)
///
public decimal PipeDiameter { get; set; }
///
/// 套管直径(mm)
///
public decimal PipeWallThickness { get; set; }
///
/// 工厂代码
///
public string? FactoryCode { get; set; }
///
/// 产品代码
///
public string? ProductCode { get; set; }
///
/// 工位代码
///
public string? WorkstationCode { get; set; }
///
/// 设备代码
///
public string? EquipmentCode { get; set; }
///
/// 工件名称
///
public string? WorkpieceName { get; set; }
///
/// 工序名称
///
public string? ProcessName { get; set; }
///
/// 管件编码
///
public string? PipeFittingCode { get; set; }
///
/// 顺序号
///
public string? PreSerialNumber { get; set; }
///
/// 管段编码
///
public string? PipeSpecCode { get; set; }
///
/// 管段名称
///
public string? PipeSectionName { get; set; }
///
/// 外径(mm)
///
public decimal OuterDiameter { get; set; }
///
/// 壁厚(mm)
///
public decimal Thickness { get; set; }
///
/// 材质
///
public string? Material { get; set; }
///
/// 是否主支管
///
public bool HasMainSignature { get; set; }
///
/// 工艺流向编号
///
public string? ProcessRouteNumber { get; set; }
///
/// 计划开始时间
///
public DateTime? PlannedStartTime { get; set; }
///
/// 计划完成时间
///
public DateTime? PlannedEndTime { get; set; }
///
/// 班组信息
///
public string? TeamInfo { get; set; }
///
/// 时间戳
///
public string? Timestamp { 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 string? LastModifierName { get; set; }
///
/// 操作备注
///
public string? OperationRemark { get; set; }
///
/// 删除备注
///
public string? DeleteRemark { get; set; }
///
/// 排序
///
public int Sort { get; set; }
///
/// 备注
///
public string? Remark { get; set; }
///
/// 是否禁用
///
public bool? IsDisabled { 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;
}
}