You can not 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
2.0 KiB

7 months ago
using Entity.Base;
using SqlSugar;
namespace Entity.DbModel.System
7 months ago
{
/// <summary>
/// 系统差异日志表
/// </summary>
[SugarTable("sys_log_diff")]
public partial class SysLogDiff : EntityBase
{
/// <summary>
/// 操作前记录
/// </summary>
[SugarColumn(ColumnDescription = "操作前记录", ColumnDataType = StaticConfig.CodeFirst_BigString,
ColumnName = "before_data")]
public string? BeforeData { get; set; }
/// <summary>
/// 操作后记录
/// </summary>
[SugarColumn(ColumnDescription = "操作后记录", ColumnDataType = StaticConfig.CodeFirst_BigString,
ColumnName = "after_data")]
public string? AfterData { get; set; }
/// <summary>
/// Sql
/// </summary>
[SugarColumn(ColumnDescription = "Sql", ColumnDataType = StaticConfig.CodeFirst_BigString,
ColumnName = "sql_str")]
public string? SqlStr { get; set; }
/// <summary>
/// 参数 手动传入的参数
/// </summary>
[SugarColumn(ColumnDescription = "参数", ColumnDataType = StaticConfig.CodeFirst_BigString,
ColumnName = "parameters")]
public string? Parameters { get; set; }
/// <summary>
/// 业务对象
/// </summary>
[SugarColumn(ColumnDescription = "业务对象", ColumnDataType = StaticConfig.CodeFirst_BigString,
ColumnName = "business_data")]
public string? BusinessData { get; set; }
/// <summary>
/// 差异操作
/// </summary>
[SugarColumn(ColumnDescription = "差异操作", ColumnDataType = StaticConfig.CodeFirst_BigString,
ColumnName = "diff_type")]
public string? DiffType { get; set; }
/// <summary>
/// 耗时
/// </summary>
[SugarColumn(ColumnDescription = "耗时", ColumnName = "elapsed")]
public long? Elapsed { get; set; }
}
}