/***********************************************************************
* Project: baifenBinfa
* ProjectName: 百分兵法管理系统
* Web: http://chuanyin.com
* Author:
* Email: 34161541@qq.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
///
/// 登录日志表
///
[SugarTable("SysLoginRecord",TableDescription = "登录日志表")]
public partial class SysLoginRecord
{
///
/// 登录日志表
///
public SysLoginRecord()
{
}
///
/// 主键
///
[Display(Name = "主键")]
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
///
/// 用户账号
///
[Display(Name = "用户账号")]
[SugarColumn(ColumnDescription = "用户账号")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String username { get; set; }
///
/// 操作系统
///
[Display(Name = "操作系统")]
[SugarColumn(ColumnDescription = "操作系统", IsNullable = true)]
[StringLength(400, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String os { get; set; }
///
/// 设备名
///
[Display(Name = "设备名")]
[SugarColumn(ColumnDescription = "设备名", IsNullable = true)]
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String device { get; set; }
///
/// 浏览器类型
///
[Display(Name = "浏览器类型")]
[SugarColumn(ColumnDescription = "浏览器类型", IsNullable = true)]
[StringLength(400, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String browser { get; set; }
///
/// ip地址
///
[Display(Name = "ip地址")]
[SugarColumn(ColumnDescription = "ip地址", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String ip { get; set; }
///
/// 操作类型
///
[Display(Name = "操作类型")]
[SugarColumn(ColumnDescription = "操作类型")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 operType { get; set; }
///
/// 备注
///
[Display(Name = "备注")]
[SugarColumn(ColumnDescription = "备注", IsNullable = true)]
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String comments { get; set; }
///
/// 登录时间
///
[Display(Name = "登录时间")]
[SugarColumn(ColumnDescription = "登录时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
///
/// 修改时间
///
[Display(Name = "修改时间")]
[SugarColumn(ColumnDescription = "修改时间", IsNullable = true)]
public System.DateTime? updateTime { get; set; }
}
}