47 lines
2.1 KiB
C#
47 lines
2.1 KiB
C#
namespace DongfangHydro.Dashboard.Api.Domain;
|
|
|
|
public sealed class ProductionNode
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid OrderId { get; set; }
|
|
public Guid? ParentNodeId { get; set; }
|
|
public string Code { get; set; } = string.Empty;
|
|
public string OperationCode { get; set; } = string.Empty;
|
|
public string MaterialCode { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
public string SourceSequence { get; set; } = string.Empty;
|
|
public string Specification { get; set; } = string.Empty;
|
|
public string Material { get; set; } = string.Empty;
|
|
public decimal? UnitWeight { get; set; }
|
|
public decimal? TotalWeight { get; set; }
|
|
public string UnitWeightText { get; set; } = string.Empty;
|
|
public string TotalWeightText { get; set; } = string.Empty;
|
|
public decimal? BomQuantity { get; set; }
|
|
public string BomQuantityText { get; set; } = string.Empty;
|
|
public string Remark { get; set; } = string.Empty;
|
|
public string SourceSheet { get; set; } = string.Empty;
|
|
public int SourceRow { get; set; }
|
|
public int Level { get; set; }
|
|
public string NodeType { get; set; } = "process";
|
|
public string SupplyType { get; set; } = "self_made";
|
|
public int RequiredQty { get; set; }
|
|
public int CompletedQty { get; set; }
|
|
public int DefectQty { get; set; }
|
|
public int Progress { get; set; }
|
|
public string Status { get; set; } = "waiting";
|
|
public string RiskLevel { get; set; } = "normal";
|
|
public int DelayDays { get; set; }
|
|
public string DelayReason { get; set; } = string.Empty;
|
|
public DateTime? PlannedStart { get; set; }
|
|
public DateTime? PlannedEnd { get; set; }
|
|
public DateTime? ActualStart { get; set; }
|
|
public DateTime? ActualEnd { get; set; }
|
|
public string Owner { get; set; } = string.Empty;
|
|
public string Vendor { get; set; } = string.Empty;
|
|
public string StationName { get; set; } = string.Empty;
|
|
public string VisualKey { get; set; } = "generic";
|
|
public int SortOrder { get; set; }
|
|
public DateTimeOffset UpdatedAt { get; set; }
|
|
public byte[] RowVersion { get; set; } = [];
|
|
}
|