mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-04 03:27:05 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			593 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			593 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
 | 
						|
namespace API.DTOs.Jobs;
 | 
						|
 | 
						|
public sealed record JobDto
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// Job Id
 | 
						|
    /// </summary>
 | 
						|
    public string Id { get; set; } = default!;
 | 
						|
    /// <summary>
 | 
						|
    /// Human Readable title for the Job
 | 
						|
    /// </summary>
 | 
						|
    public string Title { get; set; } = default!;
 | 
						|
    /// <summary>
 | 
						|
    /// When the job was created
 | 
						|
    /// </summary>
 | 
						|
    public DateTime? CreatedAtUtc { get; set; }
 | 
						|
    /// <summary>
 | 
						|
    /// Last time the job was run
 | 
						|
    /// </summary>
 | 
						|
    public DateTime? LastExecutionUtc { get; set; }
 | 
						|
    public string Cron { get; set; } = default!;
 | 
						|
}
 |