using System; using System.Collections.Generic; using System.Linq; using System.Text.Json.Serialization; using SqlSugar; namespace Yi.Framework.Model.Models { /// /// 登入日志 /// [SugarTable("LoginLog")] public partial class LoginLogEntity:IBaseModelEntity { public LoginLogEntity() { this.CreateTime = DateTime.Now; } [JsonConverter(typeof(ValueToStringConverter))] [SugarColumn(ColumnName="Id" ,IsPrimaryKey = true )] public long Id { get; set; } /// /// 登录用户 /// [SugarColumn(ColumnName="LoginUser" )] public string LoginUser { get; set; } /// /// 登录地点 /// [SugarColumn(ColumnName="LoginLocation" )] public string LoginLocation { get; set; } /// /// 登录Ip /// [SugarColumn(ColumnName="LoginIp" )] public string LoginIp { get; set; } /// /// 浏览器 /// [SugarColumn(ColumnName="Browser" )] public string Browser { get; set; } /// /// 操作系统 /// [SugarColumn(ColumnName="Os" )] public string Os { get; set; } /// /// 登录信息 /// [SugarColumn(ColumnName="LogMsg" )] public string LogMsg { get; set; } /// /// 创建者 /// [SugarColumn(ColumnName="CreateUser" )] public long? CreateUser { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName="CreateTime" )] public DateTime? CreateTime { get; set; } /// /// 修改者 /// [SugarColumn(ColumnName="ModifyUser" )] public long? ModifyUser { get; set; } /// /// 修改时间 /// [SugarColumn(ColumnName="ModifyTime" )] public DateTime? ModifyTime { get; set; } /// /// 租户Id /// [SugarColumn(ColumnName="TenantId" )] public long? TenantId { get; set; } /// /// 排序字段 /// [SugarColumn(ColumnName="OrderNum" )] public int? OrderNum { get; set; } /// /// 描述 /// [SugarColumn(ColumnName="Remark" )] public string Remark { get; set; } /// /// 是否删除 /// [SugarColumn(ColumnName="IsDeleted" )] public bool? IsDeleted { get; set; } } }