using SqlSugar;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Core.Entity;
///
/// 系统操作/审计日志表
///
[SugarTable("sys_log_audit")]
[Description("系统操作/审计日志表")]
public class SysLogAudit : AutoIncrementEntity
{
///
/// 表名
///
[MaxLength(50)]
public string TableName { get; set; }
///
/// 列名
///
[MaxLength(50)]
public string ColumnName { get; set; }
///
/// 新值
///
public string NewValue { get; set; }
///
/// 旧值
///
public string OldValue { get; set; }
///
/// 操作时间
///
public DateTime CreatedTime { get; set; }
///
/// 操作人Id
///
public long UserId { get; set; }
///
/// 操作人名称
///
[MaxLength(20)]
public string UserName { get; set; }
///
/// 操作方式:新增、更新、删除
///
public DataOpType Operate { get; set; }
}