e6e9ff3cc3
2、分享 3、视频播放 4、批量删除,重新下载 5、自定义标题(仅博主视频) 6、授权页面去掉博主添加,新增关注列表 7、图文视频合成优化 8、其他优化
37 lines
1.0 KiB
C#
37 lines
1.0 KiB
C#
namespace dy.net.dto
|
|
{
|
|
/// <summary>
|
|
/// 任务配置实体
|
|
/// </summary>
|
|
public class JobConfig
|
|
{
|
|
public JobConfig(Type jobType, string jobKey, string triggerKey, string description)
|
|
{
|
|
JobType = jobType ?? throw new ArgumentNullException(nameof(jobType));
|
|
JobKey = jobKey ?? throw new ArgumentNullException(nameof(jobKey));
|
|
TriggerKey = triggerKey ?? throw new ArgumentNullException(nameof(triggerKey));
|
|
Description = description ?? throw new ArgumentNullException(nameof(description));
|
|
}
|
|
|
|
/// <summary>
|
|
/// 任务类型
|
|
/// </summary>
|
|
public Type JobType { get; }
|
|
|
|
/// <summary>
|
|
/// 任务Key
|
|
/// </summary>
|
|
public string JobKey { get; }
|
|
|
|
/// <summary>
|
|
/// 触发器Key
|
|
/// </summary>
|
|
public string TriggerKey { get; }
|
|
|
|
/// <summary>
|
|
/// 任务描述
|
|
/// </summary>
|
|
public string Description { get; }
|
|
}
|
|
}
|