using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FrameworkDAL.DTO.SchedulerTaskGenerator { public class TSchedulerEntity { // ------------------------------- // PRIMARY COMPOSITE KEY // ------------------------------- public int JobId { get; set; } public int SchedulerId { get; set; } // ------------------------------- // JOB METADATA (from MJobDefine) // ------------------------------- public string? JobName { get; set; } public int? TenantId { get; set; } public string? UriParameterValue { get; set; } public DateTime? LastRunTime { get; set; } public int? Type { get; set; } public int? MenuId { get; set; } public int? WebServiceId { get; set; } public int? CriteriaConfigId { get; set; } public int? SourceType { get; set; } // ------------------------------- // SCHEDULER CONFIG FIELDS // from your SchedulerConfigDTO // ------------------------------- public string? CronExpression { get; set; } public string? SelectedMonth { get; set; } public string? SelectedDays { get; set; } public int? DateType { get; set; } public string? SelectedDates { get; set; } public int? OccurrenceNo { get; set; } public string? OccurrenceDay { get; set; } public int? EveryNoOfMonths { get; set; } public int? EveryNoOfDays { get; set; } public int? TimeRangeType { get; set; } public int? EveryNoOfHours { get; set; } public int? EveryNoOfMinutes { get; set; } public TimeSpan? OccursAtTime { get; set; } public string? OccursAtMultipleTime { get; set; } public string? SchedulerName { get; set; } // ------------------------------- // STATUS / REMARKS // ------------------------------- public int? Status { get; set; } public string? Remarks { get; set; } // ------------------------------- // AUDIT FIELDS (GB5 Standard) // ------------------------------- public int? CreatedById { get; set; } public DateTime? CreatedOn { get; set; } public int? ModifiedById { get; set; } public DateTime? ModifiedOn { get; set; } // ------------------------------- // VERSIONING (optimistic concurrency) // ------------------------------- public int? Version { get; set; } } }