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.

57 lines
1.8 KiB

3 weeks ago
using SqlSugar;
namespace Wood.Entity.SystemManage;
/// <summary>
/// 系统差异日志表
/// </summary>
[SugarTable("SysLogDiff", "系统差异日志表")]
public class LogDiffEntity : EntityCreateBase
{
/// <summary>
/// 影响表
/// </summary>
[SugarColumn(ColumnDescription = "操作前记录", IsNullable = true)]
public string? Tables { get; set; }
/// <summary>
/// 操作前记录
/// </summary>
[SugarColumn(ColumnDescription = "操作前记录", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string? BeforeData { get; set; }
/// <summary>
/// 操作后记录
/// </summary>
[SugarColumn(ColumnDescription = "操作后记录", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string? AfterData { get; set; }
/// <summary>
/// Sql
/// </summary>
[SugarColumn(ColumnDescription = "Sql", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string? Sql { get; set; }
/// <summary>
/// 参数 手动传入的参数
/// </summary>
[SugarColumn(ColumnDescription = "参数", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string? Parameters { get; set; }
/// <summary>
/// 业务对象
/// </summary>
[SugarColumn(ColumnDescription = "业务对象", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string? BusinessData { get; set; }
/// <summary>
/// 差异操作
/// </summary>
[SugarColumn(ColumnDescription = "差异操作", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string? DiffType { get; set; }
/// <summary>
/// 耗时
/// </summary>
[SugarColumn(ColumnDescription = "耗时")]
public long Elapsed { get; set; } = 0;
}