namespace FrameworkDAL.DTO.DirectAction { /// Maps to MDIRECTACTIONDETAIL (one button/link within an action group). public class DirectActionDetailDTO { public int DirectActionDetailId { get; set; } public int DirectActionId { get; set; } public short Slno { get; set; } public string ActionCode { get; set; } = string.Empty; public string ActionLabel { get; set; } = string.Empty; public string EmailPlaceholder { get; set; } = string.Empty; public string ButtonPayloadPrefix { get; set; } = string.Empty; public string? ApiEndpoint { get; set; } public string HttpMethod { get; set; } = "POST"; public string? PayloadTemplate { get; set; } public byte NeedsInput { get; set; } // 0 = direct API, 1 = conversational public int FlowId { get; set; } // FK to MEIPFLOWDEFINITION; -1 = N/A } }