using System; namespace FrameworkDAL.DTO.DirectAction { /// /// Admin CRUD DTO for MDIRECTACTION (action group header). /// Distinct from the runtime-only DirectActionDTO used by GenericApiDirectActionHandler's /// lookup, which omits Version/Status/audit fields not needed at runtime. /// public class DirectActionAdminDTO { public int DirectActionId { get; set; } public int TenantId { get; set; } = -1; public string DirectActionCode { get; set; } = string.Empty; public string DirectActionName { get; set; } = string.Empty; public string ContextIdField { get; set; } = string.Empty; public string AssigneeUserIdField { get; set; } = string.Empty; public short Version { get; set; } /// 0..5 per CK_MDIRECTACTION_STATUS. public byte Status { get; set; } = 1; public int? CreatedById { get; set; } public string? CreatedByName { get; set; } public DateTime CreatedOn { get; set; } public int? ModifiedById { get; set; } public string? ModifiedByName { get; set; } public DateTime? ModifiedOn { get; set; } } }