32 lines
665 B
C#
32 lines
665 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DG.Kafka.Worker
|
|
{
|
|
internal class TaskConfig
|
|
{
|
|
/// <summary>
|
|
/// 任务名称
|
|
/// </summary>
|
|
public string? TaskName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务备注
|
|
/// </summary>
|
|
public string? TaskRemarks { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否启用
|
|
/// </summary>
|
|
public bool Enable { get; set; }
|
|
|
|
/// <summary>
|
|
/// 停止毫秒数
|
|
/// </summary>
|
|
public int MilliSecondsDelay { get; set; }
|
|
}
|
|
}
|