using SqlSugar;
using System;
namespace Tiobon.Core.Model.Models
{
///
/// 日志记录
///
public class OperateLog : RootEntityTkey
{
///
///获取或设置是否禁用,逻辑上的删除,非物理删除
///
[SugarColumn(IsNullable = true)]
public bool? IsDeleted { get; set; }
///
/// 区域名
///
[SugarColumn(Length = 2000, IsNullable = true)]
public string Area { get; set; }
///
/// 区域控制器名
///
[SugarColumn(Length = 2000, IsNullable = true)]
public string Controller { get; set; }
///
/// Action名称
///
[SugarColumn(Length = 2000, IsNullable = true)]
public string Action { get; set; }
///
/// IP地址
///
[SugarColumn(Length = 2000, IsNullable = true)]
public string IPAddress { get; set; }
///
/// 描述
///
[SugarColumn(Length = 2000, IsNullable = true)]
public string Description { get; set; }
///
/// 登录时间
///
[SugarColumn(IsNullable = true)]
public DateTime? LogTime { get; set; }
///
/// 登录名称
///
[SugarColumn(Length = 2000, IsNullable = true)]
public string LoginName { get; set; }
///
/// 用户ID
///
public int UserId { get; set; }
[SugarColumn(IsIgnore = true)]
public virtual SysUserInfo User { get; set; }
}
}