You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.9 KiB
C#

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