LogEntity.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. package jnpf.entity;
  2. import com.baomidou.mybatisplus.annotation.FieldFill;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import jnpf.base.entity.SuperExtendEntity;
  6. import lombok.Data;
  7. import java.io.Serializable;
  8. import java.util.Date;
  9. /**
  10. * 系统日志
  11. *
  12. * @author JNPF开发平台组
  13. * @version V3.1.0
  14. * @copyright 引迈信息技术有限公司
  15. * @date 2019年9月27日 上午9:18
  16. */
  17. @Data
  18. @TableName("base_sys_log")
  19. public class LogEntity extends SuperExtendEntity.SuperExtendDescriptionEntity<String> implements Serializable {
  20. /**
  21. * 用户主键
  22. */
  23. @TableField("F_USER_ID")
  24. private String userId;
  25. /**
  26. * 用户主键
  27. */
  28. @TableField("F_USER_NAME")
  29. private String userName;
  30. /**
  31. * 日志类型
  32. */
  33. @TableField("F_TYPE")
  34. private Integer type;
  35. /**
  36. * 日志级别
  37. */
  38. @TableField("F_LEVEL")
  39. private Integer levels;
  40. /**
  41. * IP地址
  42. */
  43. @TableField("F_IP_ADDRESS")
  44. private String ipAddress;
  45. /**
  46. * IP所在城市
  47. */
  48. @TableField("F_IP_ADDRESS_NAME")
  49. private String ipAddressName;
  50. /**
  51. * 请求地址
  52. */
  53. @TableField("F_REQUEST_URL")
  54. private String requestUrl;
  55. /**
  56. * 请求方法
  57. */
  58. @TableField("F_REQUEST_METHOD")
  59. private String requestMethod;
  60. /**
  61. * 请求耗时
  62. */
  63. @TableField("F_REQUEST_DURATION")
  64. private Integer requestDuration;
  65. /**
  66. * 日志内容
  67. */
  68. @TableField("F_JSON")
  69. private String jsons;
  70. /**
  71. * 平台设备
  72. */
  73. @TableField("F_PLAT_FORM")
  74. private String platForm;
  75. /**
  76. * 功能主键
  77. */
  78. @TableField("F_MODULE_ID")
  79. private String moduleId;
  80. /**
  81. * 功能名称
  82. */
  83. @TableField("F_MODULE_NAME")
  84. private String moduleName;
  85. /**
  86. * 对象Id
  87. */
  88. @TableField("F_OBJECT_ID")
  89. private String objectId;
  90. /**
  91. * 浏览器
  92. */
  93. @TableField("f_browser")
  94. private String browser;
  95. /**
  96. * 请求参数
  97. */
  98. @TableField("f_request_param")
  99. private String requestParam;
  100. /**
  101. * 请求方法
  102. */
  103. @TableField("f_request_target")
  104. private String requestTarget;
  105. /**
  106. * 是否登录成功标志
  107. */
  108. @TableField("f_login_mark")
  109. private Integer loginMark;
  110. /**
  111. * 登录类型
  112. */
  113. @TableField("f_login_type")
  114. private Integer loginType;
  115. }