using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FrameworkDAL.DTO.Workflow { public class WorkflowHistoryListDTO { public int WorkflowHistoryId { get; set; } public int WorkflowInstanceId { get; set; } public int EntityId { get; set; } public string? EntityCode { get; set; } public string? EntityName { get; set; } public int ObjectId { get; set; } public int OUId { get; set; } public int BizTransactionTypeId { get; set; } public int WorkflowId { get; set; } public string? DataJson { get; set; } public string? StepKey { get; set; } public string? Action { get; set; } public int ActionByUserId { get; set; } public string? Comment { get; set; } public DateTime? ActionOn { get; set; } public int TenantId { get; set; } public int SortOrder { get; set; } public int Status { get; set; } public int Version { get; set; } public int SourceType { get; set; } public int CreatedById { get; set; } public DateTime? CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime? ModifiedOn { get; set; } // ── WIP (Form-Based Approval) fields ────────────────────────────────── public bool IsWip { get; set; } public int? WipId { get; set; } public byte? WipStatus { get; set; } public string? WipStatusName { get; set; } public int? WipObjectId { get; set; } // ── Display ─────────────────────────────────────────────────────────── /// Resolved display text built from ParticularsTemplate + DataJson at BLL time. public string? Particulars { get; set; } /// Raw DTO.DataJson.Field / path template stored in MWORKFLOWCONFIG.PARTICULARSTEMPLATE. public string? ParticularsTemplate { get; set; } } }