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.

64 lines
1.6 KiB
C#

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
{
///<summary>
///日志记录
///</summary>
[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;
}
/// <summary>
/// Desc:自增标识
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int objId { get; set; }
/// <summary>
/// Desc:日志类型1-查询、2-添加、3-修改、4-删除
/// Default:
/// Nullable:True
/// </summary>
public LogType logType { get; set; }
/// <summary>
/// Desc:日志信息
/// Default:
/// Nullable:True
/// </summary>
public string logInfo { get; set; }
/// <summary>
/// Desc:异常日志
/// Default:
/// Nullable:True
/// </summary>
public string logError { get; set; }
/// <summary>
/// Desc:记录时间
/// Default:
/// Nullable:True
/// </summary>
public DateTime recordTime { get; set; }
}
}