liuying
2025-09-24 16edbbe772e24eb71f6519558576d513e3cf2746
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
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace iWare.Wms.Core
{
    /// <summary>
    /// 访问日志表
    /// </summary>
    [Table("sys_log_vis")]
    [Comment("访问日志表")]
    public class SysLogVis : 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("访问类型")]
        public LoginType VisType { get; set; }
 
        /// <summary>
        /// 访问时间
        /// </summary>
        [Comment("访问时间")]
        public DateTimeOffset? VisTime { get; set; }
 
        /// <summary>
        /// 访问人
        /// </summary>
        [Comment("访问人")]
        [MaxLength(50)]
        public string Account { get; set; }
    }
}