/*********************************************************************** * 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("SysOperRecord",TableDescription = "操作日志表")] public partial class SysOperRecord { /// /// 操作日志表 /// public SysOperRecord() { } /// /// 主键 /// [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)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String userName { get; set; } /// /// 操作模块 /// [Display(Name = "操作模块")] [SugarColumn(ColumnDescription = "操作模块", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String model { get; set; } /// /// 操作方法 /// [Display(Name = "操作方法")] [SugarColumn(ColumnDescription = "操作方法", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String description { get; set; } /// /// 请求地址 /// [Display(Name = "请求地址")] [SugarColumn(ColumnDescription = "请求地址", IsNullable = true)] [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String url { get; set; } /// /// 请求方式 /// [Display(Name = "请求方式")] [SugarColumn(ColumnDescription = "请求方式", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String requestMethod { get; set; } /// /// 调用方法 /// [Display(Name = "调用方法")] [SugarColumn(ColumnDescription = "调用方法", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String operMethod { get; set; } /// /// 请求参数 /// [Display(Name = "请求参数")] [SugarColumn(ColumnDescription = "请求参数", IsNullable = true)] public System.String param { get; set; } /// /// 返回结果 /// [Display(Name = "返回结果")] [SugarColumn(ColumnDescription = "返回结果", IsNullable = true)] public System.String result { 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}")] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String spendTime { get; set; } /// /// 状态,0成功,1异常 /// [Display(Name = "状态,0成功,1异常")] [SugarColumn(ColumnDescription = "状态,0成功,1异常")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 state { get; set; } /// /// 登录时间 /// [Display(Name = "登录时间")] [SugarColumn(ColumnDescription = "登录时间")] [Required(ErrorMessage = "请输入{0}")] public System.DateTime createTime { get; set; } } }