21 lines
643 B
C#
21 lines
643 B
C#
using Dlhis.Entity.Common.Enums;
|
|
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
|
using SqlSugar;
|
|
using SqlSugar.DbConvert;
|
|
|
|
namespace Dlhis.Entity.Common.Entities;
|
|
|
|
[SugarTable(TableName = "OperateLogs", TableDescription = "操作日志")]
|
|
public class OperateLogEntity : SugarBaseEntity
|
|
{
|
|
[SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
|
public OperateLogType Type { get; set; }
|
|
|
|
|
|
[SugarColumn(IsNullable = false, ColumnDataType = "text")]
|
|
public string Content { get; set; }
|
|
|
|
|
|
[SugarColumn(IsNullable = false)]
|
|
public string Operator { get; set; }
|
|
} |