namespace FrameworkDAL.DTO.SchedulerTaskGenerator
{
///
/// Maps directly to MACTION columns loaded by SchedulerTaskGeneratorQB.LoadActionsByJobIds.
/// ACTIONTYPE enum: 0=Email, 1=SMS, 2=Webhook, 3=Notification, 4=Report
///
public class SchedulerActionDTO
{
public int ActionId { get; set; }
public int JobId { get; set; }
///
/// MACTION.ACTIONTYPE tinyint — 0=Email,1=SMS,2=Webhook,3=Notification,4=Report
///
public int ActionType { get; set; }
// ── Email / SMS delivery ─────────────────────────────────────
public string? SendTo { get; set; }
public string? ReplyTo { get; set; }
public int TemplateId { get; set; }
public int ToDeliveryType { get; set; }
public int ToContentType { get; set; }
public string? MailCc { get; set; }
public string? MailBcc { get; set; }
// ── Webhook ──────────────────────────────────────────────────
public int WebServiceId { get; set; }
public string? UriParameterValue { get; set; }
// ── Report ───────────────────────────────────────────────────
public int ReportId { get; set; }
public int CriteriaConfigId { get; set; }
// ── Meta ─────────────────────────────────────────────────────
public int TenantId { get; set; }
public int Status { get; set; }
}
}