using System; using DataModel.Helpers; namespace DataModel.Models { /// /// Organization hierarchy (profit center -> work center mapping) model /// public class OrgHierarchy { /// /// Work center unique code /// public string WorkCenterCode { get; set; } /// /// Branch unit code /// public string BranchCode { get; set; } /// /// Profit center unique code /// public string ProfitCenterCode { get; set; } /// /// Date of last update to record /// private int LastUpdateDate { get; } /// /// Time of day of last update to record /// private int LastUpdateTime { get; } /// /// Timestamp of last update to record /// public DateTime LastUpdateDT => LastUpdateDate.FromJDEDate().FromJDEDateTime(LastUpdateTime); } }