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.
55 lines
1.1 KiB
C#
55 lines
1.1 KiB
C#
using System;
|
|
using SqlSugar;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
namespace Admin.Core.Model
|
|
{
|
|
///<summary>
|
|
///实体类
|
|
///</summary>
|
|
[Table("SysJobLog")]
|
|
[SugarTable( "SysJobLog", "admin_sqlite")]
|
|
public class SysJobLog
|
|
{
|
|
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[Key]
|
|
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
|
|
[Required]
|
|
public int ID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务ID
|
|
/// </summary>
|
|
public int? JobID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 执行开始时间
|
|
/// </summary>
|
|
public DateTime? RunTimeStart { get; set; }
|
|
|
|
/// <summary>
|
|
/// 执行结束时间
|
|
/// </summary>
|
|
public DateTime? RunTimeEnd { get; set; }
|
|
|
|
/// <summary>
|
|
/// 执行耗时
|
|
/// </summary>
|
|
public string RunTimer { get; set; }
|
|
|
|
/// <summary>
|
|
/// 执行状态
|
|
/// </summary>
|
|
public int? Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 执行信息
|
|
/// </summary>
|
|
public string Remark { get; set; }
|
|
|
|
}
|
|
}
|