Initial commit: JDE Scoping Tool migration project
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
This commit is contained in:
Executable
+81
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using DataModel.Helpers;
|
||||
|
||||
namespace DataModel.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// JDE work order step model
|
||||
/// </summary>
|
||||
public class WorkOrderStep
|
||||
{
|
||||
/// <summary>
|
||||
/// Unique number for workorder
|
||||
/// </summary>
|
||||
public long WorkOrderNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Unique code for branch
|
||||
/// </summary>
|
||||
public string BranchCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Unique code for work center
|
||||
/// </summary>
|
||||
public string WorkCenterCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Operation sequence number
|
||||
/// </summary>
|
||||
public decimal StepNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Operation sequence description
|
||||
/// </summary>
|
||||
public string StepDescription { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Function operation description (long text)
|
||||
/// </summary>
|
||||
public string FunctionOperationDescription { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Operation sequence type
|
||||
/// </summary>
|
||||
public string StepTypeCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Timestamp when work step began
|
||||
/// </summary>
|
||||
public DateTime? StartDT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Timestamp when work step ended
|
||||
/// </summary>
|
||||
public DateTime? EndDT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Operation function code
|
||||
/// </summary>
|
||||
public string FunctionCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Quantity scrapped/cancelled
|
||||
/// </summary>
|
||||
public decimal ScrappedQuantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Date of last update to record
|
||||
/// </summary>
|
||||
private int LastUpdateDate { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Time of day of last update to record
|
||||
/// </summary>
|
||||
private int LastUpdateTime { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Timestamp of last update to record
|
||||
/// </summary>
|
||||
public DateTime LastUpdateDT => LastUpdateDate.FromJDEDate().FromJDEDateTime(LastUpdateTime);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user