using DS.Module.Core.Data;
using SqlSugar;
namespace DS.Module.Core.Log;
///
/// 系统审计日志
///
[global::SqlSugar.SugarTable("sys_log_audit")]
public class SysLogAudit: BaseTenantModel
{
///
/// 主键id
///
public long KeyId { get; set; }
///
/// sql语句
///
[SugarColumn(ColumnDescription = "sql语句", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string Sql { get; set; }
///
/// 请求参数
///
[SugarColumn(ColumnDescription = "请求参数", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string Param { get; set; }
///
/// 旧值
///
[SugarColumn(ColumnDescription = "旧值", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string OldValue { get; set; }
///
/// 新值
///
[SugarColumn(ColumnDescription = "新值", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string NewValue { get; set; }
///
/// 业务数据
///
[SugarColumn(ColumnDescription = "业务数据", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string AopData { get; set; }
///
/// 差异数据
///
[SugarColumn(ColumnDescription = "差异数据", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string DiffData { get; set; }
// ///
// /// 创建人姓名
// ///
// public string CreateUser { get; set; }
///
/// 操作方式:新增、更新、删除
///
[SugarColumn(ColumnDescription = "操作方式:新增、更新、删除")]
public string OperateType { get; set; }
}