baotian
2024-06-04 b959135a1139fb66646523d92e5bd20c5910f283
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
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace iWare.Wms.Core
{
    /// <summary>
    /// 操作日志表
    /// </summary>
    [Table("sys_log_op")]
    [Comment("操作日志表")]
    public class SysLogOp : EntityBase
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Comment("名称")]
        [MaxLength(100)]
        public string Name { get; set; }
 
        /// <summary>
        /// 是否执行成功(Y-是,N-否)
        /// </summary>
        [Comment("是否执行成功")]
        public YesOrNot Success { get; set; }
 
        /// <summary>
        /// 具体消息
        /// </summary>
        [Comment("具体消息")]
        public string Message { get; set; }
 
        /// <summary>
        /// IP
        /// </summary>
        [Comment("IP")]
        [MaxLength(20)]
        public string Ip { get; set; }
 
        /// <summary>
        /// 地址
        /// </summary>
        [Comment("地址")]
        [MaxLength(1024)]
        public string Location { get; set; }
 
        /// <summary>
        /// 浏览器
        /// </summary>
        [Comment("浏览器")]
        [MaxLength(100)]
        public string Browser { get; set; }
 
        /// <summary>
        /// 操作系统
        /// </summary>
        [Comment("操作系统")]
        [MaxLength(100)]
        public string Os { get; set; }
 
        /// <summary>
        /// 请求地址
        /// </summary>
        [Comment("请求地址")]
        [MaxLength(100)]
        public string Url { get; set; }
 
        /// <summary>
        /// 类名称
        /// </summary>
        [Comment("类名称")]
        [MaxLength(100)]
        public string ClassName { get; set; }
 
        /// <summary>
        /// 方法名称
        /// </summary>
        [Comment("方法名称")]
        [MaxLength(100)]
        public string MethodName { get; set; }
 
        /// <summary>
        /// 请求方式(GET POST PUT DELETE)
        /// </summary>
        [Comment("请求方式")]
        [MaxLength(10)]
        public string ReqMethod { get; set; }
 
        /// <summary>
        /// 请求参数
        /// </summary>
        [Comment("请求参数")]
        public string Param { get; set; }
 
        /// <summary>
        /// 返回结果
        /// </summary>
        [Comment("返回结果")]
        public string Result { get; set; }
 
        /// <summary>
        /// 耗时(毫秒)
        /// </summary>
        [Comment("耗时")]
        public long ElapsedTime { get; set; }
 
        /// <summary>
        /// 操作时间
        /// </summary>
        [Comment("操作时间")]
        public DateTimeOffset? OpTime { get; set; }
 
        /// <summary>
        /// 操作人
        /// </summary>
        [Comment("操作人")]
        [MaxLength(50)]
        public string Account { get; set; }
    }
}