sunpengfei
昨天 bf17ad2051de62b9b49fb72bf6ae14d23bfef62b
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
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace FlexJobApi.Core
{
    /// <summary>
    /// 控制台日志
    /// </summary>
    public class ConsoleLog : CommonEntity<LogDbContextLocator>, IDbAuditLogIgnore
    {
        /// <summary>
        /// 通道
        /// </summary>
        public EnumConsoleLogAccess Access { get; set; }
 
        /// <summary>
        /// 级别
        /// </summary>
        public EnumLogLevel Level { get; set; }
 
        /// <summary>
        /// 内容
        /// </summary>
        [Required]
        public string Content { get; set; }
 
        /// <summary>
        /// 堆栈跟踪
        /// </summary>
        public string StackTrace { get; set; }
 
        /// <summary>
        /// 链接地址
        /// </summary>
        public string Url { get; set; }
 
        /// <summary>
        /// 客户IP地址
        /// </summary>
        [MaxLength(32)]
        public string ClientIpAddress { get; set; }
    }
}