ChatRoomForGpt/ARW-net/ARW.Model/System/SysTasksLog.cs
2023-04-04 18:15:13 +08:00

55 lines
1.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Newtonsoft.Json;
using OfficeOpenXml.Attributes;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace ARW.Model.System
{
/// <summary>
/// 任务日志
/// </summary>
[SugarTable("sys_tasks_log")]
[Tenant("0")]
public class SysTasksLog
{
/// <summary>
/// 日志Id
/// </summary>
[JsonConverter(typeof(ValueToStringConverter))]
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
public long JobLogId { get; set; }
/// <summary>
/// 任务Id
/// </summary>
public string JobId { get; set; }
public string JobName { get; set; }
public string JobGroup { get; set; }
/// <summary>
/// 执行状态0正常 1失败
/// </summary>
public string Status { get; set; }
/// <summary>
/// 异常
/// </summary>
public string Exception { get; set; }
/// <summary>
///
/// </summary>
public string JobMessage { get; set; }
/// <summary>
/// 调用目标字符串
/// </summary>
public string InvokeTarget { get; set; }
[EpplusTableColumn(NumberFormat = "yyyy-MM-dd HH:mm:ss")]
public DateTime CreateTime { get; set; }
/// <summary>
/// 执行用时,毫秒
/// </summary>
//[SqlSugar.SugarColumn(IsIgnore = true)]
public double Elapsed { get; set; }
}
}