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