Files
jdescopingtool/OLD/DataModel/Models/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

36 lines
945 B
C#
Executable File

using System;
using DataModel.Helpers;
namespace DataModel.Models
{
/// <summary>
/// JDE work order status code model
/// </summary>
public class StatusCode
{
/// <summary>
/// Status code unique code
/// </summary>
public string Code { get; set; }
/// <summary>
/// Status code description
/// </summary>
public string Description { 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);
}
}