You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.7 KiB
C#

using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.Core.Model
{
///<summary>
///实体类
///</summary>
[Table("SysLoginInfo")]
[SugarTable( "SysLoginInfo", "admin_sqlite")]
public class SysLoginInfo
{
/// <summary>
/// InfoID
/// </summary>
[Key]
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
[Required]
public int InfoID { get; set; }
/// <summary>
/// UserName
/// </summary>
public string UserName { get; set; }
/// <summary>
/// IPAddr
/// </summary>
public string IPAddr { get; set; }
/// <summary>
/// LoginLocation
/// </summary>
public string LoginLocation { get; set; }
/// <summary>
/// Browser
/// </summary>
public string Browser { get; set; }
/// <summary>
/// OS
/// </summary>
public string OS { get; set; }
/// <summary>
/// Status
/// </summary>
public int? Status { get; set; }
/// <summary>
/// Msg
/// </summary>
public string Msg { get; set; }
/// <summary>
/// LoginTime
/// </summary>
public DateTime? LoginTime { get; set; }
/// <summary>
/// 创建者
/// </summary>
public string CreateBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? CreateTime { get; set; }
/// <summary>
/// 更新者
/// </summary>
public string UpdateBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdateTime { get; set; }
}
}