add 操作日志
This commit is contained in:
21
Src/Dlhis.Entity/Common/Entities/OperateLogEntity.cs
Normal file
21
Src/Dlhis.Entity/Common/Entities/OperateLogEntity.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Dlhis.Entity.Common.Enums;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
|
||||
namespace Dlhis.Entity.Common.Entities;
|
||||
|
||||
[SugarTable(TableName = "OperateLogs")]
|
||||
public class OperateLogEntity : SugarBaseEntity
|
||||
{
|
||||
[SugarColumn(IsNullable = false, SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public OperateLogType Type { get; set; }
|
||||
|
||||
|
||||
[SugarColumn(IsNullable = true, ColumnDataType = "text")]
|
||||
public string Request { get; set; }
|
||||
|
||||
|
||||
[SugarColumn(IsNullable = false)]
|
||||
public string Content { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user