SysLogininfor.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. package com.ruoyi.system.domain;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import com.ruoyi.common.annotation.Excel;
  5. import com.ruoyi.common.annotation.Excel.ColumnType;
  6. import com.ruoyi.common.core.domain.BaseEntity;
  7. /**
  8. * 系统访问记录表 sys_logininfor
  9. *
  10. * @author ruoyi
  11. */
  12. public class SysLogininfor extends BaseEntity
  13. {
  14. private static final long serialVersionUID = 1L;
  15. /** ID */
  16. @Excel(name = "序号", cellType = ColumnType.NUMERIC)
  17. private Long infoId;
  18. /** 用户账号 */
  19. @Excel(name = "用户账号")
  20. private String userName;
  21. /** 登录状态 0成功 1失败 */
  22. @Excel(name = "登录状态", readConverterExp = "0=成功,1=失败")
  23. private String status;
  24. /** 登录IP地址 */
  25. @Excel(name = "登录地址")
  26. private String ipaddr;
  27. /** 登录地点 */
  28. @Excel(name = "登录地点")
  29. private String loginLocation;
  30. /** 浏览器类型 */
  31. @Excel(name = "浏览器")
  32. private String browser;
  33. /** 操作系统 */
  34. @Excel(name = "操作系统")
  35. private String os;
  36. /** 提示消息 */
  37. @Excel(name = "提示消息")
  38. private String msg;
  39. /** 访问时间 */
  40. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  41. @Excel(name = "访问时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  42. private Date loginTime;
  43. }