using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace Estsh.Core.Quartz.Model
{
///
/// 任务
///
[Description("任务表")]
public class tab_quarz_task : BaseModel
{
///
/// 任务名
///
[Description("任务名")]
public string TaskName { get; set; }
///
/// 分组名
///
[Description("分组名")]
public string GroupName { get; set; }
///
/// 间隔时间
///
[Description("间隔时间")]
public string Interval { get; set; }
///
/// 调用的API地址
///
[Description("调用的API地址")]
public string ApiUrl { get; set; }
///
/// 任务描述
///
[Description("任务描述")]
public string Describe { get; set; }
///
/// 最近一次运行时间
///
[Description("最近一次运行时间")]
public DateTime? LastRunTime { get; set; }
///
/// 运行状态
///
[Description("运行状态")]
public int Status { get; set; }
///
/// 任务类型(1.DLL类型,2.API类型)
///
[Description("任务类型(1.DLL类型,2.API类型)")]
public int TaskType { get; set; }
#region Api类型专用参数
///
/// API访问类型(API类型)
///
[Description("API访问类型(API类型)")]
public string ApiRequestType { get; set; }
///
/// 授权名(API类型)
///
///
[Description("授权名(API类型)")]
public string ApiAuthKey { get; set; }
///
/// 授权值(API类型)
///
///
[Description("授权值(API类型)")]
public string ApiAuthValue { get; set; }
///
/// API参数
///
///
[Description("API参数")]
public string ApiParameter { get; set; }
#endregion
#region DLL类型专用参数
///
/// DLL类型名
///
///
[Description("DLL类型名")]
public string DllClassName { get; set; }
///
/// Dll方法名
///
///
[Description("Dll方法名")]
public string DllActionName { get; set; }
#endregion
}
}