26ff8d9b4f
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
57 lines
1.4 KiB
C#
Executable File
57 lines
1.4 KiB
C#
Executable File
using System;
|
|
using DataModel.Helpers;
|
|
|
|
namespace DataModel.Models
|
|
{
|
|
/// <summary>
|
|
/// Cardex entry
|
|
/// </summary>
|
|
public class LotUsage
|
|
{
|
|
/// <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);
|
|
}
|
|
}
|