namespace FrameworkDAL.DTO.Scheduler { // Admin list + edit-prefill shape for MJOBDEFINE. Separate from JobDefineDTO (runtime // execution shape) to keep admin columns (RunAs*, MenuId, ActionType) out of the hot // execution path and avoid changing SchedulerTaskGeneratorQB aliases. public class JobDefineAdminDTO { public int JobId { get; set; } public string JobName { get; set; } = string.Empty; // 0 = Active, 1 = Inactive/Paused (MJOBDEFINE convention, inverted from general GB5 enum) public int Status { get; set; } public int SchedulerId { get; set; } public string? SchedulerName { get; set; } public int WebServiceId { get; set; } public int CriteriaConfigId { get; set; } public int MenuId { get; set; } public int RunAsUserId { get; set; } public int RunAsRoleId { get; set; } public int RunAsOUId { get; set; } public int RunAsBranchId { get; set; } public int RunAsWorkPartyId { get; set; } public int RunAsStoreId { get; set; } public int RunAsPeriodId { get; set; } } }