26ff8d9b4f
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
35 lines
1014 B
C#
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);
|
|
}
|