feat:完成job定时任务功能模块

This commit is contained in:
橙子
2023-04-23 21:42:03 +08:00
parent 4b5b4464f4
commit dbcb27e41a
10 changed files with 280 additions and 18 deletions

View File

@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Furion.Core.Rbac.Enums;
namespace Yi.Furion.Core.Rbac.Dtos.Task
{
public class TaskCreateInput
{
public string AssemblyName { get; set; }
public string JobTypeFullName { get; set; }
public string JobId { get; set; }
public string GroupName { get; set; }
public JobTypeEnum Type { get; set; }
public string Cron { get; set; }
public int Millisecond { get; set; }
public bool Concurrent { get; set; }
public Dictionary<string, object> Properties { get; set; }
public string Description { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Infrastructure.Ddd.Dtos;
namespace Yi.Furion.Core.Rbac.Dtos.Task
{
public class TaskGetListInput: PagedAllResultRequestDto
{
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Furion.Core.Rbac.Dtos.Task
{
public class TaskGetListOutput
{
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Furion.Core.Rbac.Dtos.Task
{
public class TaskGetOutput
{
}
}

View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Furion.Core.Rbac.Enums;
namespace Yi.Furion.Core.Rbac.Dtos.Task
{
public class TaskUpdateInput
{
public string AssemblyName { get; set; }
public string JobTypeFullName { get; set; }
public string GroupName { get; set; }
public JobTypeEnum Type { get; set; }
public string Cron { get; set; }
public int Millisecond { get; set; }
public bool Concurrent { get; set; }
public Dictionary<string, object> Properties { get; set; }
public string Description { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Furion.Core.Rbac.Enums
{
public enum JobTypeEnum
{
Cron,
Millisecond
}
}