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

75 lines
1.8 KiB

using System;
using System.ComponentModel.DataAnnotations.Schema;
using Znyc.Admin.Commons.Core.DataManager;
using Znyc.Admin.Commons.Entitys;
namespace Znyc.Admin.Security.Entitys
{
/// <summary>
/// 系统日志,数据实体对象
/// </summary>
[AppDBContext("DefaultDb")]
[Table("dc_log_ex")]
[Serializable]
public class LogEx : BaseEntity
{
/// <summary>
/// 默认构造函数(需要初始化属性的在此处理)
/// </summary>
public LogEx()
{
IsDeleted = false;
CreatedTime = DateTime.Now;
}
/// <summary>
/// 操作人
/// </summary>
public string Account { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 方法名
/// </summary>
public string ClassName { get; set; }
/// <summary>
/// 方法名
/// </summary>
public string MethodName { get; set; }
/// <summary>
/// 异常名称
/// </summary>
public string ExceptionName { get; set; }
/// <summary>
/// 异常信息
/// </summary>
public string ExceptionMsg { get; set; }
/// <summary>
/// 异常源
/// </summary>
public string ExceptionSource { get; set; }
/// <summary>
/// 堆栈信息
/// </summary>
public string StackTrace { get; set; }
/// <summary>
/// 参数对象
/// </summary>
public string ParamsObj { get; set; }
/// <summary>
/// 异常时间
/// </summary>
public DateTime ExceptionTime { get; set; }
}
}