SysJobBySugar.cs
1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace WebRepository.Domain.job
{
[SugarTable("sys_job")]
public class SysJobBySugar
{
/// <summary>
/// 任务名称
/// </summary>
[SugarColumn(ColumnName = "jobName")]
public string JobName { get; set; }
/// <summary>
/// 任务组名
/// </summary>
[SugarColumn(ColumnName = "jobGroup")]
public string JobGroup { get; set; }
/// <summary>
/// 任务方法
/// </summary>
[SugarColumn(ColumnName = "methodName")]
public string MethodName { get; set; }
/// <summary>
/// 参数
/// </summary>
[SugarColumn(ColumnName = "methodParams")]
public string MethodParams { get; set; }
/// <summary>
/// cron执行表达式
/// </summary>
[SugarColumn(ColumnName = "cronExpression")]
public string CronExpression { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "lastFireTime")]
public System.DateTime? LastFireTime { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "nextFireTime")]
public System.DateTime? NextFireTime { get; set; }
/// <summary>
/// 错误策略
/// </summary>
[SugarColumn(ColumnName = "misfirePolicy")]
public string MisfirePolicy { get; set; }
/// <summary>
/// 状态(0正常 1暂停)
/// </summary>
[SugarColumn(ColumnName = "status")]
public string Status { get; set; }
/// <summary>
/// 备注信息
/// </summary>
[SugarColumn(ColumnName = "remark")]
public string Remark { get; set; }
/// <summary>
/// SQL脚本
/// </summary>
[SugarColumn(ColumnName = "jobsql")]
public string Sql { get; set; }
}
}