You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

119 lines
3.7 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using OpenAuth.Repository.Core;
using SqlSugar;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 定时任务
/// </summary>
[SugarTable("sys_openjob")]
public partial class SysOpenJob
{
[SugarColumn(IsPrimaryKey = true)]
public string Id { get; set; }
/// <summary>
/// 任务名称
/// </summary>
[Description("任务名称")]
public string JobName { get; set; }
/// <summary>
/// 任务执行次数
/// </summary>
[Description("任务执行次数")]
public int RunCount { get; set; }
/// <summary>
/// 异常次数
/// </summary>
[Description("异常次数")]
public int ErrorCount { get; set; }
/// <summary>
/// 下次执行时间
/// </summary>
[Description("下次执行时间")]
public System.DateTime? NextRunTime { get; set; }
/// <summary>
/// 最后一次执行时间
/// </summary>
[Description("最后一次执行时间")]
public System.DateTime? LastRunTime { get; set; }
/// <summary>
/// 最后一次失败时间
/// </summary>
[Description("最后一次失败时间")]
public System.DateTime? LastErrorTime { get; set; }
/// <summary>
/// 任务执行方式0本地任务1外部接口任务
/// </summary>
[Description("任务执行方式0本地任务1外部接口任务")]
public int JobType { get; set; }
/// <summary>
/// 任务地址
/// </summary>
[Description("任务地址")]
public string JobCall { get; set; }
/// <summary>
/// 任务参数JSON格式
/// </summary>
[Description("任务参数JSON格式")]
public string JobCallParams { get; set; }
/// <summary>
/// CRON表达式
/// </summary>
[Description("CRON表达式")]
public string Cron { get; set; }
/// <summary>
/// 任务运行状态0停止1正在运行2暂停
/// </summary>
[Description("任务运行状态0停止1正在运行2暂停")]
public int Status { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
public string Remark { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
[Browsable(false)]
public string CreateUserId { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
public string CreateUserName { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
[Description("最后更新时间")]
public System.DateTime? UpdateTime { get; set; }
/// <summary>
/// 最后更新人ID
/// </summary>
[Description("最后更新人ID")]
[Browsable(false)]
public string UpdateUserId { get; set; }
/// <summary>
/// 最后更新人
/// </summary>
[Description("最后更新人")]
public string UpdateUserName { get; set; }
/// <summary>
/// 所属部门
/// </summary>
[Description("所属部门")]
[Browsable(false)]
public string OrgId { get; set; }
}
}