You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.9 KiB
65 lines
1.9 KiB
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace zzz.Model.Entity
|
|
{
|
|
[SugarTable("operate_log")]
|
|
public class OperateLog: RootEntityAutoKey
|
|
{
|
|
/// <summary>
|
|
/// 区域名
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true,ColumnDescription = "区域名", Length = 2000 )]
|
|
public string Area { get; set; }
|
|
|
|
/// <summary>
|
|
/// 区域控制器名
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "Controller名称", Length = 2000)]
|
|
public string Controller { get; set; }
|
|
|
|
/// <summary>
|
|
/// Action名称
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "Action名称", Length = 2000)]
|
|
public string Action { get; set; }
|
|
|
|
/// <summary>
|
|
/// IP地址
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "IP地址", Length = 2000)]
|
|
public string IPAddress { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "描述", Length = 2000)]
|
|
public string Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// 登录时间
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "操作时间")]
|
|
public DateTime? LogTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 登录名称
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "操作者名称", Length = 2000)]
|
|
public string LoginName { get; set; }
|
|
/// <summary>
|
|
/// 用户ID
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "操作者Id")]
|
|
public int UserId { get; set; }
|
|
|
|
|
|
//[SugarColumn(IsIgnore = true)]
|
|
//public virtual SysUserInfo User { get; set; }
|
|
}
|
|
}
|