namespace Admin.NET.Core; /// /// 系统审计日志表 /// [SugarTable("sys_log_audit", "系统审计日志表")] public class SysLogAudit : EntityBase { /// /// 表名 /// [SugarColumn(ColumnDescription = "表名", Length = 64)] [MaxLength(64)] public string TableName { get; set; } /// /// 列名 /// [SugarColumn(ColumnDescription = "列名", Length = 64)] [MaxLength(64)] public string ColumnName { get; set; } /// /// 新值 /// [SugarColumn(ColumnDescription = "新值", ColumnDataType = "longtext,text,clob")] public string NewValue { get; set; } /// /// 旧值 /// [SugarColumn(ColumnDescription = "旧值", ColumnDataType = "longtext,text,clob")] public string OldValue { get; set; } /// /// 操作方式(新增、更新、删除) /// [SugarColumn(ColumnDescription = "操作方式")] public DataOpTypeEnum Operate { get; set; } /// /// 审计时间 /// [SugarColumn(ColumnDescription = "审计时间")] public DateTime? AuditTime { get; set; } /// /// 账号名称 /// [SugarColumn(ColumnDescription = "账号名称", Length = 32)] [MaxLength(32)] public string UserName { get; set; } /// /// 真实姓名 /// [SugarColumn(ColumnDescription = "真实姓名", Length = 32)] [MaxLength(32)] public string RealName { get; set; } }