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
+56
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using DataModel.Helpers;
|
||||
|
||||
namespace DataModel.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Work order component usage model
|
||||
/// </summary>
|
||||
public class WorkOrderComponent
|
||||
{
|
||||
/// <summary>
|
||||
/// Record unique / PK ID
|
||||
/// </summary>
|
||||
public long UniqueID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Work order unique number
|
||||
/// </summary>
|
||||
public long WorkOrderNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Lot number of component
|
||||
/// </summary>
|
||||
public string LotNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Component issuance branch code
|
||||
/// </summary>
|
||||
public string BranchCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Component item short number
|
||||
/// </summary>
|
||||
public long? ShortItemNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Transaction quantity
|
||||
/// </summary>
|
||||
public decimal Quantity { 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