namespace Admin.NET.Core;
///
/// 系统审计日志表
///
[SugarTable(null, "系统审计日志表")]
[SystemTable]
public class SysLogAudit : EntityBase
{
///
/// 表名
///
[SugarColumn(ColumnDescription = "表名", Length = 64)]
[Required, MaxLength(64)]
public virtual string TableName { get; set; }
///
/// 列名
///
[SugarColumn(ColumnDescription = "列名", Length = 64)]
[Required, MaxLength(64)]
public virtual string ColumnName { get; set; }
///
/// 新值
///
[SugarColumn(ColumnDescription = "新值", ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string? NewValue { get; set; }
///
/// 旧值
///
[SugarColumn(ColumnDescription = "旧值", ColumnDataType = StaticConfig.CodeFirst_BigString)]
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? Account { get; set; }
///
/// 真实姓名
///
[SugarColumn(ColumnDescription = "真实姓名", Length = 32)]
[MaxLength(32)]
public string? RealName { get; set; }
}