namespace JobEngineDAL.DTOs { public class JobDefineDTO { public int JobId { get; set; } public int SchedulerId { get; set; } public string JobName { get; set; } = ""; public int WebServiceId { get; set; } public int CriteriaConfigId { get; set; } public DateTime? LastRunTime { get; set; } public int Status { get; set; } // 1=active, 0=disabled public int MenuId { get; set; } public int TenantId { get; set; } public string? UriParameterValue { get; set; } // New columns (GB5 extension) public int MaxRetries { get; set; } = 3; public int TimeoutSeconds { get; set; } = 300; public DateTime? NextRunTime { get; set; } public bool IsConcurrent { get; set; } public string? JobCategory { get; set; } public string? SourceModule { get; set; } public int? SourceObjectId { get; set; } public string? DaprPubSubTopic { get; set; } public int? CreatedBy { get; set; } public DateTime? CreatedDate { get; set; } public int? UpdatedBy { get; set; } public DateTime? UpdatedDate { get; set; } // From TSCHEDULER join public string? SchedulerType { get; set; } // CRON | INTERVAL | ONE_TIME public string? CronExpression { get; set; } public int? IntervalSeconds { get; set; } public DateTime? ScheduledDate { get; set; } public string? SchedulerDescription { get; set; } public string? SchedulerStatus { get; set; } // ACTIVE | PAUSED | DISABLED // From MWEBSERVICE join public string? UriTemplate { get; set; } public string? MethodType { get; set; } } }