modified all admin UIs to position action buttons on the left side of grids and implemented ActionDialog throughout rather than dedicated delete components
This commit is contained in:
		
							
								
								
									
										21
									
								
								Oqtane.Shared/Models/Schedule.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								Oqtane.Shared/Models/Schedule.cs
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,21 @@
 | 
			
		||||
using System;
 | 
			
		||||
 | 
			
		||||
namespace Oqtane.Models
 | 
			
		||||
{
 | 
			
		||||
    public class Schedule : IAuditable
 | 
			
		||||
    {
 | 
			
		||||
        public int ScheduleId { get; set; }
 | 
			
		||||
        public string Name { get; set; }
 | 
			
		||||
        public string JobType { get; set; }
 | 
			
		||||
        public int Period { get; set; }
 | 
			
		||||
        public string Frequency { get; set; }
 | 
			
		||||
        public DateTime? StartDate { get; set; }
 | 
			
		||||
        public bool IsActive { get; set; }
 | 
			
		||||
        public int RetentionHistory { get; set; }
 | 
			
		||||
 | 
			
		||||
        public string CreatedBy { get; set; }
 | 
			
		||||
        public DateTime CreatedOn { get; set; }
 | 
			
		||||
        public string ModifiedBy { get; set; }
 | 
			
		||||
        public DateTime ModifiedOn { get; set; }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								Oqtane.Shared/Models/ScheduleLog.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								Oqtane.Shared/Models/ScheduleLog.cs
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
			
		||||
using System;
 | 
			
		||||
 | 
			
		||||
namespace Oqtane.Models
 | 
			
		||||
{
 | 
			
		||||
    public class ScheduleLog
 | 
			
		||||
    {
 | 
			
		||||
        public int ScheduleLogId { get; set; }
 | 
			
		||||
        public int ScheduleId { get; set; }
 | 
			
		||||
        public DateTime StartDate { get; set; }
 | 
			
		||||
        public DateTime? FinishDate { get; set; }
 | 
			
		||||
        public bool? Succeeded { get; set; }
 | 
			
		||||
        public string Notes { get; set; }
 | 
			
		||||
        public DateTime? NextExecution { get; set; }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user