This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
2021-05-26 00:01:22 +02:00

49 lines
1.2 KiB
C#

using System;
namespace Oqtane.Models
{
/// <summary>
/// Log / Journal of <see cref="Job"/>s executed.
/// </summary>
public class JobLog
{
/// <summary>
/// Internal ID
/// </summary>
public int JobLogId { get; set; }
/// <summary>
/// Reference to the <see cref="Job"/> which was run
/// </summary>
public int JobId { get; set; }
/// <summary>
/// Timestamp when the <see cref="Job"/> started.
/// </summary>
public DateTime StartDate { get; set; }
/// <summary>
/// Timestamp when the <see cref="Job"/> ended.
/// </summary>
public DateTime? FinishDate { get; set; }
/// <summary>
/// Success information.
/// </summary>
public bool? Succeeded { get; set; }
/// <summary>
/// Additional protocol information that was left after the <see cref="Job"/> ran.
/// </summary>
public string Notes { get; set; }
/// <summary>
/// Reference to the Job.
/// </summary>
/// <remarks>
/// It's not clear if this is always populated.
/// </remarks>
public Job Job { get; set; }
}
}