Files
KinginfoGateway/src/ThingsGateway.Admin.Application/Entity/SysVisitLog.cs
Kimdiego2098 6e11b885f9 同步代码
2024-02-21 09:38:34 +08:00

83 lines
3.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//------------------------------------------------------------------------------
// 此代码版权声明为全文件覆盖,如有原作者特别声明,会在下方手动补充
// 此代码版权除特别声明外的代码归作者本人Diego所有
// 源代码使用协议遵循本仓库的开源协议及附加协议
// Gitee源代码仓库https://gitee.com/diego2098/ThingsGateway
// Github源代码仓库https://github.com/kimdiego2098/ThingsGateway
// 使用文档https://diego2098.gitee.io/thingsgateway-docs/
// QQ群605534569
//------------------------------------------------------------------------------
namespace ThingsGateway.Admin.Application;
/// <summary>
/// 访问日志表
///</summary>
[SugarTable("sys_visitlog", TableDescription = "访问日志表")]
[Tenant(SqlSugarConst.DB_Log)]
public class SysVisitLog : PrimaryIdEntity
{
/// <summary>
/// 日志分类
///</summary>
[SugarColumn(ColumnDescription = "日志分类", Length = 200)]
[DataTable(Order = 1, IsShow = true, Sortable = true, DefaultFilter = false)]
public string Category { get; set; }
/// <summary>
/// 执行状态
///</summary>
[SugarColumn(ColumnDescription = "执行状态", Length = 200)]
[DataTable(Order = 3, IsShow = true, Sortable = true, DefaultFilter = false)]
public string ExeStatus { get; set; }
/// <summary>
/// 日志名称
///</summary>
[SugarColumn(ColumnDescription = "日志名称", Length = 200)]
[DataTable(Order = 2, IsShow = true, Sortable = true, DefaultFilter = false)]
public string Name { get; set; }
/// <summary>
/// 操作人账号
///</summary>
[SugarColumn(ColumnDescription = "操作人账号", Length = 200, IsNullable = true)]
[DataTable(Order = 4, IsShow = true, Sortable = true, DefaultFilter = false)]
public string OpAccount { get; set; }
/// <summary>
/// 操作浏览器
///</summary>
[SugarColumn(ColumnDescription = "操作浏览器", Length = 200)]
[DataTable(Order = 5, IsShow = true, Sortable = true, DefaultFilter = false)]
public string OpBrowser { get; set; }
/// <summary>
/// 操作ip
///</summary>
[SugarColumn(ColumnDescription = "操作ip", Length = 200)]
[DataTable(Order = 6, IsShow = true, Sortable = true, DefaultFilter = false)]
public string OpIp { get; set; }
/// <summary>
/// 操作系统
///</summary>
[SugarColumn(ColumnDescription = "操作系统", Length = 200)]
[DataTable(Order = 7, IsShow = true, Sortable = true, DefaultFilter = false)]
public string OpOs { get; set; }
/// <summary>
/// 操作时间
///</summary>
[SugarColumn(ColumnDescription = "操作时间")]
[DataTable(Order = 8, IsShow = true, Sortable = true, DefaultFilter = false)]
public DateTime OpTime { get; set; }
/// <summary>
/// 验证Id
///</summary>
[SugarColumn(ColumnDescription = "验证Id")]
[IgnoreExcel]
[DataTable(Order = 9, IsShow = true, Sortable = true, DefaultFilter = true)]
public long VerificatId { get; set; }
}