add 操作日志

This commit is contained in:
2025-03-03 18:22:54 +08:00
parent 7553868604
commit 1d78dac768
14 changed files with 116 additions and 15 deletions

View 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; }
}