using System; namespace FrameworkDAL.DTO.SchedulerTaskGenerator { public class SchedulerConfigDTO { public int SchedulerId { get; set; } public string CronExpression { get; set; } = ""; // 🔥 REQUIRED public DateTime? NextRunOn { get; set; } // TSCHEDULER.NEXTRUNON public DateTime? LastRunOn { get; set; } // TSCHEDULER.LASTRUNON public string? SelectedMonth { get; set; } public string? SelectedDays { get; set; } public string? DateType { get; set; } public string? SelectedDates { get; set; } public int? OccurenceNo { get; set; } public string? OccurenceDay { get; set; } public int? EveryNoOfMonths { get; set; } public int? EveryNoOfDays { get; set; } public string? TimeRangeType { get; set; } public int? EveryNoOfHours { get; set; } public int? EveryNoOfMinutes { get; set; } public string? OccursAtTime { get; set; } public string? OccursAtMultipleTime { get; set; } public string SchedulerName { get; set; } = ""; public string? Remarks { get; set; } public int Status { get; set; } public string? Topic { get; set; } // ✅ Added fields to match DAL public int CreatedById { get; set; } public DateTime? CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime? ModifiedOn { get; set; } public int MenuId { get; set; } public string Type { get; set; } = ""; public int TenantId { get; set; } } }