feat:完成job定时任务功能模块
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
14
Yi.Furion.Net6/Yi.Furion.Core/Rbac/Enums/JobTypeEnum.cs
Normal file
14
Yi.Furion.Net6/Yi.Furion.Core/Rbac/Enums/JobTypeEnum.cs
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user