jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
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
package com.ld.igds.models;
 
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
 
/**
 * @Desc: 系统登陆日志
 * @author: Andy
 * @update-time: 2023/4/27
 */
@Data
@Entity
@Table(name = "D_LOG_LOGIN")
public class LogLogin implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "ID_", unique = true, length = 40)
    @PropertyDef(label = "ID")
    private String id;
 
    @Column(name = "COMPANY_ID", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    @Column(name = "LOGIN_ID", length = 40)
    @PropertyDef(label = "登陆ID")
    private String loginId;
 
    @Column(name = "LOGIN_NAME", length = 40)
    @PropertyDef(label = "登陆用户")
    private String loginName;
 
    @Column(name = "LOGIN_TIME")
    @PropertyDef(label = "登陆时间")
    private Date loginTime;
 
    @Column(name = "ERROR_NUM")
    @PropertyDef(label = "错误次数")
    private int errorNum;
 
    @Column(name = "IP_", length = 20)
    @PropertyDef(label = "登陆者IP")
    private String ip;
 
    @Column(name = "BROSWER_", length = 50)
    @PropertyDef(label = "浏览器")
    private String browser;
 
    @Column(name = "SYS_NAME", length = 50)
    @PropertyDef(label = "操作系统")
    private String sysName;
 
    @Column(name = "HOST_NAME", length = 50)
    @PropertyDef(label = "登陆主机")
    private String hostName;
 
    @Column(name = "NET_INFO", length = 50)
    @PropertyDef(label = "网络状况")
    private String netInfo = "正常";
 
    @Column(name = "LAST_LOGIN_TIME")
    @PropertyDef(label = "上次登陆时间")
    private Date lastLoginTime;
 
    @Column(name = "LOGIN_INFO")
    @PropertyDef(label = "登陆说明")
    private String loginInfo;
 
}