41 lines
1.2 KiB
C#
41 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using LCU.Library.Internal.DispatcherModels.Entities;
|
|
using LCU.Library.Internal.DispatcherModels.Enums;
|
|
namespace LCU.Library.Internal.DispatcherModels.Models;
|
|
|
|
public class JobDetails
|
|
{
|
|
public int JobId { get; set; } = 0;
|
|
|
|
[StringLength(200, ErrorMessage = "Requesting Application Max Length is 200")]
|
|
public string RequestingApplication { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(200, ErrorMessage = "Name Max Length is 200")]
|
|
public string Name { get; set; }
|
|
|
|
[StringLength(8000, ErrorMessage = "Description Max Length is 8000")]
|
|
public string Description { get; set; }
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public DateTime CreatedAt { get; set; }
|
|
|
|
public string ModifiedBy { get; set; }
|
|
|
|
public DateTime? ModifiedDate { get; set; }
|
|
|
|
public string CronSchedule { get; set; }
|
|
|
|
public DateTime? NextRunTime { get; set; }
|
|
|
|
public bool SkipHolidays { get; set; } = false;
|
|
|
|
public JobStatus JobStatus { get; set; } = JobStatus.Inactive;
|
|
|
|
public List<string> ErrorRecipients { get; set; }
|
|
|
|
public List<JobTag> JobTags { get; set; }
|
|
} |