add .
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Dlhis.Entity.Common.Enums;
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
using SqlSugar.DbConvert;
|
||||
@@ -6,7 +7,7 @@ using SqlSugar.DbConvert;
|
||||
namespace Dlhis.Entity.Common.Entities;
|
||||
|
||||
[SugarTable(TableName = "OperateLogs", TableDescription = "操作日志")]
|
||||
public class OperateLogEntity : SugarBaseEntity
|
||||
public class OperateLogEntity : SugarBaseEntity, ITenantId
|
||||
{
|
||||
[SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public OperateLogType Type { get; set; }
|
||||
@@ -14,8 +15,11 @@ public class OperateLogEntity : SugarBaseEntity
|
||||
|
||||
[SugarColumn(IsNullable = false, ColumnDataType = "text")]
|
||||
public string Content { get; set; }
|
||||
|
||||
|
||||
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string Operator { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user