fix 优化操作日志
This commit is contained in:
@@ -5,17 +5,17 @@ using SqlSugar.DbConvert;
|
||||
|
||||
namespace Dlhis.Entity.Common.Entities;
|
||||
|
||||
[SugarTable(TableName = "OperateLogs")]
|
||||
[SugarTable(TableName = "OperateLogs", TableDescription = "操作日志")]
|
||||
public class OperateLogEntity : SugarBaseEntity
|
||||
{
|
||||
[SugarColumn(IsNullable = false, SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
[SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public OperateLogType Type { get; set; }
|
||||
|
||||
|
||||
[SugarColumn(IsNullable = true, ColumnDataType = "text")]
|
||||
public string Request { get; set; }
|
||||
|
||||
[SugarColumn(IsNullable = false, ColumnDataType = "text")]
|
||||
public string Content { get; set; }
|
||||
|
||||
|
||||
[SugarColumn(IsNullable = false)]
|
||||
public string Content { get; set; }
|
||||
public string Operator { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user