Files
jdescopingtool/OLD/DataModel/Models/WorkOrderTime.cs
T
Joseph Doherty 26ff8d9b4f 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.
2026-01-02 07:43:29 -05:00

62 lines
1.6 KiB
C#
Executable File

using System;
using DataModel.Helpers;
namespace DataModel.Models
{
/// <summary>
/// F31122 work order time transaction record
/// </summary>
public class WorkOrderTime
{
/// <summary>
/// Unique ID for record
/// </summary>
public long UniqueID { get; set; }
/// <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>
/// Unique address number for user
/// </summary>
public long AddressNumber { get; set; }
/// <summary>
/// G/L date entry was processed
/// </summary>
public DateTime? GlDate { 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);
}
}