username@email.com
2024-10-29 3f91a6737fc06b45461ce11eae5660cbbf766f7e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/***********************************************************************
 *            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
{
    /// <summary>
    /// 操作日志表
    /// </summary>
    [SugarTable("SysOperRecord",TableDescription = "操作日志表")]
    public partial class SysOperRecord
    {
        /// <summary>
        /// 操作日志表
        /// </summary>
        public SysOperRecord()
        {
        }
 
        /// <summary>
        /// 主键
        /// </summary>
        [Display(Name = "主键")]
        [SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 id { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        [Display(Name = "用户id")]
        [SugarColumn(ColumnDescription = "用户id")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 userId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        [Display(Name = "用户名")]
        [SugarColumn(ColumnDescription = "用户名", IsNullable = true)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String userName { get; set; }
        /// <summary>
        /// 操作模块
        /// </summary>
        [Display(Name = "操作模块")]
        [SugarColumn(ColumnDescription = "操作模块", IsNullable = true)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String model { get; set; }
        /// <summary>
        /// 操作方法
        /// </summary>
        [Display(Name = "操作方法")]
        [SugarColumn(ColumnDescription = "操作方法", IsNullable = true)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String description { get; set; }
        /// <summary>
        /// 请求地址
        /// </summary>
        [Display(Name = "请求地址")]
        [SugarColumn(ColumnDescription = "请求地址", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String url { get; set; }
        /// <summary>
        /// 请求方式
        /// </summary>
        [Display(Name = "请求方式")]
        [SugarColumn(ColumnDescription = "请求方式", IsNullable = true)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String requestMethod { get; set; }
        /// <summary>
        /// 调用方法
        /// </summary>
        [Display(Name = "调用方法")]
        [SugarColumn(ColumnDescription = "调用方法", IsNullable = true)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String operMethod { get; set; }
        /// <summary>
        /// 请求参数
        /// </summary>
        [Display(Name = "请求参数")]
        [SugarColumn(ColumnDescription = "请求参数", IsNullable = true)]
        public System.String param { get; set; }
        /// <summary>
        /// 返回结果
        /// </summary>
        [Display(Name = "返回结果")]
        [SugarColumn(ColumnDescription = "返回结果", IsNullable = true)]
        public System.String result { get; set; }
        /// <summary>
        /// ip地址
        /// </summary>
        [Display(Name = "ip地址")]
        [SugarColumn(ColumnDescription = "ip地址", IsNullable = true)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String ip { get; set; }
        /// <summary>
        /// 请求耗时,单位毫秒
        /// </summary>
        [Display(Name = "请求耗时,单位毫秒")]
        [SugarColumn(ColumnDescription = "请求耗时,单位毫秒")]
        [Required(ErrorMessage = "请输入{0}")]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String spendTime { get; set; }
        /// <summary>
        /// 状态,0成功,1异常
        /// </summary>
        [Display(Name = "状态,0成功,1异常")]
        [SugarColumn(ColumnDescription = "状态,0成功,1异常")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 state { get; set; }
        /// <summary>
        /// 登录时间
        /// </summary>
        [Display(Name = "登录时间")]
        [SugarColumn(ColumnDescription = "登录时间")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.DateTime createTime { get; set; }
    }
}