Files
jdescopingtool/NEW/src/JdeScoping.Core/Models/Lookup/StatusCode.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

35 lines
1014 B
C#

using JdeScoping.Core.Helpers;
namespace JdeScoping.Core.Models.Lookup;
/// <summary>
/// JDE work order status code lookup entity
/// </summary>
public class StatusCode
{
/// <summary>
/// Status code unique code
/// </summary>
public string Code { get; set; } = string.Empty;
/// <summary>
/// Status code description
/// </summary>
public string Description { get; set; } = string.Empty;
/// <summary>
/// JDE date of last update to record (private backing field for Dapper mapping)
/// </summary>
private int LastUpdateDate { get; set; }
/// <summary>
/// JDE time of day of last update to record (private backing field for Dapper mapping)
/// </summary>
private int LastUpdateTime { get; set; }
/// <summary>
/// Timestamp of last update to record (computed from JDE date/time)
/// </summary>
public DateTime? LastUpdateDt => JdeDateConverter.ToDateTime(LastUpdateDate, LastUpdateTime);
}