Files
BI/server/DongfangHydro.Dashboard.Api/Domain/ProductionOrder.cs
T

34 lines
1.5 KiB
C#

namespace DongfangHydro.Dashboard.Api.Domain;
public sealed class ProductionOrder
{
public Guid Id { get; set; }
public string Code { get; set; } = string.Empty;
public string ProductName { get; set; } = string.Empty;
public string DataSource { get; set; } = "manual";
public string SourceDocumentCode { get; set; } = string.Empty;
public string ProjectName { get; set; } = string.Empty;
public string DrawingProductName { get; set; } = string.Empty;
public string SourceFileName { get; set; } = string.Empty;
public string SourceFileHash { get; set; } = string.Empty;
public DateTimeOffset? ImportedAt { get; set; }
public int BatchQty { get; set; }
public int RequiredQty { get; set; }
public int CompletedQty { 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 DateTime? PlannedStart { get; set; }
public DateTime? PlannedEnd { get; set; }
public Guid? LineId { get; set; }
public string LineName { get; set; } = string.Empty;
public string Owner { get; set; } = string.Empty;
public double PlanAchievement { get; set; }
public double DailyDelta { get; set; }
public string ThumbnailKey { get; set; } = "generic";
public DateTimeOffset CreatedAt { get; set; }
public DateTimeOffset UpdatedAt { get; set; }
public byte[] RowVersion { get; set; } = [];
}