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;
|
|
}
|