Files
WMS-Api/src/WMS.Web.Domain/Options/QuartzJobOptions.cs
18942506660 c06db35af4 增加配置
2024-10-30 09:56:36 +08:00

159 lines
4.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Text;
namespace WMS.Web.Domain.Options
{
/// <summary>
/// Quartz定时任务-配置项
/// </summary>
public class QuartzJobOptions
{
/// <summary>
/// 存储类型:键
/// </summary>
public string JobStoreTypeKey { get; set; }
/// <summary>
/// 存储类型:值
/// </summary>
public string JobStoreTypeValue { get; set; }
/// <summary>
/// 数据库驱动类型-这里是mysql:键
/// </summary>
public string JobStoreDriverDelegateTypeKey { get; set; }
/// <summary>
/// 数据库驱动类型-这里是mysql:值
/// </summary>
public string JobStoreDriverDelegateTypeValue { get; set; }
/// <summary>
/// 数据库表名前缀:键
/// </summary>
public string JobStoreTablePrefixKey { get; set; }
/// <summary>
/// 数据库表名前缀:值
/// </summary>
public string JobStoreTablePrefixValue { get; set; }
/// <summary>
/// 数据源的名称:键
/// </summary>
public string JobStoreDataSourceKey { get; set; }
/// <summary>
/// 数据源的名称:值
/// </summary>
public string JobStoreDataSourceValue { get; set; }
/// <summary>
/// 连接字符串:键
/// </summary>
public string JobStoreConnectionStringKey { get; set; }
/// <summary>
/// 连接字符串:值
/// </summary>
public string JobStoreConnectionStringValue { get; set; }
/// <summary>
/// mysql提供器:键
/// </summary>
public string JobStoreProviderKey { get; set; }
/// <summary>
/// mysql提供器:值
/// </summary>
public string JobStoreProviderValue { get; set; }
/// <summary>
/// 几点后开始执行
/// </summary>
public List<int> JobStartHour { get; set; }
/// <summary>
/// 几分钟后开始执行
/// </summary>
public List<int> JobStartMinute { get; set; }
/// <summary>
/// 执行Cron表达式可以是几小时or几分钟or几秒钟or几天or几周
/// </summary>
public string JobStartExpre { get; set; }
/// <summary>
///
/// </summary>
public string JobStartExpreAmount { get; set; }
/// <summary>
/// 发送通知执行cron表达式每天121620整点发送
/// </summary>
public string JobStartExpreSend { get; set; }
/// <summary>
/// 同步新物料执行cron表达式每天2330整点同步
/// </summary>
public string JobStartExpreMaterial { get; set; }
/// <summary>
/// 监测金蝶删单
/// </summary>
public string JobStartErpDelete { get; set; }
/// <summary>
/// 成品仓库即时库存
/// </summary>
public string JobStartProductInventory { get; set; }
/// <summary>
/// 是否启用集群:键
/// </summary>
public string JobStoreClusteredKey { get; set; }
/// <summary>
/// 是否启用集群:值
/// </summary>
public string JobStoreClusteredValue { get; set; }
/// <summary>
/// 节点都必须有一个唯一ID
/// </summary>
public string JobStoreInstanceIdKey { get; set; }
/// <summary>
/// 节点都必须有一个唯一ID
/// </summary>
public string JobStoreInstanceIdValue { get; set; }
/// <summary>
/// 工作名称:键
/// </summary>
public string QuartzJobKey { get; set; }
/// <summary>
/// 工作名称:值
/// </summary>
public string QuartzJobValue { get; set; }
/// <summary>
/// 工作描述
/// </summary>
public string QuartzJobDescription { get; set; }
/// <summary>
/// 触发器身份认证信息
/// </summary>
public string QuartzTriggerIdentity { get; set; }
/// <summary>
/// 触发器描述
/// </summary>
public string QuartzTriggerDescription { get; set; }
}
}