LogInfoVO.java 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. package jnpf.model;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import io.swagger.v3.oas.annotations.media.Schema;
  4. import lombok.Data;
  5. /**
  6. *
  7. * @author JNPF开发平台组
  8. * @version V3.1.0
  9. * @copyright 引迈信息技术有限公司
  10. * @date 2021/3/16 10:10
  11. */
  12. @Data
  13. public class LogInfoVO {
  14. @Schema(description = "主键")
  15. private String id;
  16. @Schema(description = "用户主键")
  17. private String userId;
  18. @Schema(description = "用户名称")
  19. private String userName;
  20. @Schema(description = "日志类型")
  21. private Integer type;
  22. @Schema(description = "日志级别")
  23. private Integer levels;
  24. @Schema(description = "IP地址")
  25. private String ipAddress;
  26. @Schema(description = "IP所在城市")
  27. private String ipAddressName;
  28. @Schema(description = "请求地址")
  29. private String requestUrl;
  30. @Schema(description = "请求方法")
  31. private String requestMethod;
  32. @Schema(description = "请求耗时")
  33. private Integer requestDuration;
  34. @Schema(description = "日志内容")
  35. private String jsons;
  36. @Schema(description = "平台设备")
  37. private String platForm;
  38. @Schema(description = "功能主键")
  39. private String moduleId;
  40. @Schema(description = "功能名称")
  41. private String moduleName;
  42. @Schema(description = "浏览器")
  43. private String browser;
  44. @Schema(description = "请求参数")
  45. private String requestParam;
  46. @Schema(description = "请求方法")
  47. private String requestTarget;
  48. @Schema(description = "请求时间")
  49. public Long creatorTime;
  50. }