SysJob.cs
1.67 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
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace WebRepository
{
/// <summary>
/// 定时任务调度表
/// </summary>
[Table("sys_job")]
public partial class SysJob : SysEntity
{
public SysJob()
{
}
/// <summary>
/// 任务名称
/// </summary>
[Column("jobName")]
public string JobName { get; set; }
/// <summary>
/// 任务组名
/// </summary>
[Column("jobGroup")]
public string JobGroup { get; set; }
/// <summary>
/// 任务方法
/// </summary>
[Column("methodName")]
public string MethodName { get; set; }
/// <summary>
/// 参数
/// </summary>
[Column("methodParams")]
public string MethodParams { get; set; }
/// <summary>
/// cron执行表达式
/// </summary>
[Column("cronExpression")]
public string CronExpression { get; set; }
/// <summary>
///
/// </summary>
[Column("lastFireTime")]
public System.DateTime? LastFireTime { get; set; }
/// <summary>
///
/// </summary>
[Column("nextFireTime")]
public System.DateTime? NextFireTime { get; set; }
/// <summary>
/// 错误策略
/// </summary>
[Column("misfirePolicy")]
public string MisfirePolicy { get; set; }
/// <summary>
/// 状态(0正常 1暂停)
/// </summary>
[Column("status")]
public string Status { get; set; }
/// <summary>
/// 备注信息
/// </summary>
[Column("remark")]
public string Remark { get; set; }
}
}