2023-12-11 09:55:12 +08:00
|
|
|
|
using Yi.Framework.Rbac.Domain.Shared.Enums;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Task
|
2023-04-23 21:42:03 +08:00
|
|
|
|
{
|
|
|
|
|
|
public class TaskCreateInput
|
|
|
|
|
|
{
|
|
|
|
|
|
public string AssemblyName { get; set; }
|
|
|
|
|
|
|
2023-04-25 13:30:54 +08:00
|
|
|
|
public string JobType { get; set; }
|
2023-04-23 21:42:03 +08:00
|
|
|
|
|
|
|
|
|
|
public string JobId { get; set; }
|
|
|
|
|
|
|
2023-04-25 13:30:54 +08:00
|
|
|
|
public string? GroupName { get; set; }
|
2023-04-23 21:42:03 +08:00
|
|
|
|
|
|
|
|
|
|
public JobTypeEnum Type { get; set; }
|
|
|
|
|
|
|
2024-01-13 16:17:48 +08:00
|
|
|
|
public string? Cron { get; set; }
|
2023-04-23 21:42:03 +08:00
|
|
|
|
|
2024-01-13 16:17:48 +08:00
|
|
|
|
public int? Millisecond { get; set; }
|
2023-04-23 21:42:03 +08:00
|
|
|
|
|
|
|
|
|
|
public bool Concurrent { get; set; }
|
|
|
|
|
|
|
2024-01-13 16:17:48 +08:00
|
|
|
|
// public Dictionary<string, object>? Properties { get; set; }
|
2023-04-23 21:42:03 +08:00
|
|
|
|
|
2023-04-25 13:30:54 +08:00
|
|
|
|
public string? Description { get; set; }
|
2023-04-23 21:42:03 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|