This commit is contained in:
ky_sunl
2021-04-22 13:37:25 +00:00
parent 575a22954f
commit d1c9e5a71e
699 changed files with 1062425 additions and 40640 deletions

View File

@@ -0,0 +1,63 @@
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Dilon.Core
{
/// <summary>
/// 系统操作/审计日志表
/// </summary>
[Table("sys_log_audit")]
[Comment("审计日志表")]
public class SysLogAudit : EntityBase
{
/// <summary>
/// 表名
/// </summary>
[Comment("表名")]
public string TableName { get; set; }
/// <summary>
/// 列名
/// </summary>
[Comment("列名")]
public string ColumnName { get; set; }
/// <summary>
/// 新值
/// </summary>
[Comment("新值")]
public string NewValue { get; set; }
/// <summary>
/// 旧值
/// </summary>
[Comment("旧值")]
public string OldValue { get; set; }
/// <summary>
/// 操作时间
/// </summary>
[Comment("操作时间")]
public DateTimeOffset CreatedTime { get; set; }
/// <summary>
/// 操作人Id
/// </summary>
[Comment("操作人Id")]
public long UserId { get; set; }
/// <summary>
/// 操作人名称
/// </summary>
[Comment("操作人名称")]
public string UserName { get; set; }
/// <summary>
/// 操作方式:新增、更新、删除
/// </summary>
[Comment("操作方式")]
public string Operate { get; set; }
}
}