/*********************************************************************** * Project: baifenBinfa * ProjectName: 百分兵法管理系统 * Web: http://chuanyin.com * Author: * Email: 34161541@qq.com * CreateTime: 2024-03-01 22:14:58 * Description: 暂无 ***********************************************************************/ using SqlSugar; using System.ComponentModel.DataAnnotations; namespace CoreCms.Net.Model.Entities { /// /// 登录日志 /// [SugarTable("CoreCmsLoginLog",TableDescription = "登录日志")] public partial class CoreCmsLoginLog { /// /// 登录日志 /// public CoreCmsLoginLog() { } /// /// 序列 /// [Display(Name = "序列")] [SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)] [Required(ErrorMessage = "请输入{0}")] public System.Int32 id { get; set; } /// /// 用户id /// [Display(Name = "用户id")] [SugarColumn(ColumnDescription = "用户id")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 userId { get; set; } /// /// 登录类型 /// [Display(Name = "登录类型")] [SugarColumn(ColumnDescription = "登录类型", IsNullable = true)] public System.Int32? state { get; set; } /// /// 时间 /// [Display(Name = "时间")] [SugarColumn(ColumnDescription = "时间", IsNullable = true)] public System.DateTime? logTime { get; set; } /// /// 地点城市 /// [Display(Name = "地点城市")] [SugarColumn(ColumnDescription = "地点城市", IsNullable = true)] [StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String city { get; set; } /// /// ip地址 /// [Display(Name = "ip地址")] [SugarColumn(ColumnDescription = "ip地址", IsNullable = true)] [StringLength(15, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String ip { get; set; } } }