✨ 新增差异日志记录到库
This commit is contained in:
21
ZR.Model/System/SqlDiffLog.cs
Normal file
21
ZR.Model/System/SqlDiffLog.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace ZR.Model.System
|
||||
{
|
||||
[SugarTable("SqlDiffLog")]
|
||||
public class SqlDiffLog
|
||||
{
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
public long PId { get; set; }
|
||||
public string TableName { get; set; }
|
||||
[SugarColumn(Length = 4000)]
|
||||
public object BusinessData { get; set; }
|
||||
public string DiffType { get; set; }
|
||||
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
||||
public string Sql { get; set; }
|
||||
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
||||
public string BeforeData { get; set; }
|
||||
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
||||
public string AfterData { get; set; }
|
||||
public string UserName { get; set; }
|
||||
public DateTime AddTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user