using SLH.SSDMS.Model.Enums;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SLH.SSDMS.Model.DO
{
///
///日志记录
///
[SugarTable("base_LogRecord")]
public partial class Base_LogRecord
{
public Base_LogRecord() { }
public Base_LogRecord(LogType logType, string logInfo, string logError, DateTime recordTime)
{
this.logType = logType;
this.logInfo = logInfo;
this.logError = logError;
this.recordTime = recordTime;
}
///
/// Desc:自增标识
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int objId { get; set; }
///
/// Desc:日志类型:1-查询、2-添加、3-修改、4-删除
/// Default:
/// Nullable:True
///
public LogType logType { get; set; }
///
/// Desc:日志信息
/// Default:
/// Nullable:True
///
public string logInfo { get; set; }
///
/// Desc:异常日志
/// Default:
/// Nullable:True
///
public string logError { get; set; }
///
/// Desc:记录时间
/// Default:
/// Nullable:True
///
public DateTime recordTime { get; set; }
}
}