27 lines
758 B
C#
27 lines
758 B
C#
|
using System.ComponentModel;
|
|||
|
using SQLite;
|
|||
|
|
|||
|
namespace MasstransferCommon.Model.Entity;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 用户操作日志
|
|||
|
/// </summary>
|
|||
|
[Table("operation_logs")]
|
|||
|
public class OperationLog : Entity
|
|||
|
{
|
|||
|
[Column("user_id"), Description("用户ID")]
|
|||
|
public string UserId { get; set; }
|
|||
|
|
|||
|
[Column("user_name"), Description("用户名")]
|
|||
|
public string UserName { get; set; }
|
|||
|
|
|||
|
[Column("action"), Description("操作")] public string Action { get; set; }
|
|||
|
|
|||
|
[Column("params"), Description("参数")] public string? Params { get; set; }
|
|||
|
|
|||
|
[Column("exception"), Description("异常信息")]
|
|||
|
public string? Exception { get; set; }
|
|||
|
|
|||
|
[Column("operate_time"), Description("操作时间")]
|
|||
|
public DateTime OperateTime { get; set; }
|
|||
|
}
|