/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:59
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
///
/// 用户日志
///
[SugarTable("CoreCmsUserLog",TableDescription = "用户日志")]
public partial class CoreCmsUserLog
{
///
/// 用户日志
///
public CoreCmsUserLog()
{
}
///
/// id
///
[Display(Name = "id")]
[SugarColumn(ColumnDescription = "id", 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)]
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String parameters { get; set; }
///
/// ip地址
///
[Display(Name = "ip地址")]
[SugarColumn(ColumnDescription = "ip地址", IsNullable = true)]
[StringLength(15, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String ip { get; set; }
///
/// 创建时间
///
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间", IsNullable = true)]
public System.DateTime? createTime { get; set; }
}
}