CrmQuoteShareLog.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. package org.dromara.crm.domain;
  2. import com.baomidou.mybatisplus.annotation.*;
  3. import lombok.Data;
  4. import lombok.EqualsAndHashCode;
  5. import org.dromara.common.tenant.core.TenantEntity;
  6. import java.io.Serial;
  7. import java.time.LocalDateTime;
  8. /**
  9. * 报价单分享访问日志对象 crm_quote_share_log
  10. *
  11. * @author 系统管理员
  12. * @date 2025-10-05
  13. */
  14. @Data
  15. @EqualsAndHashCode(callSuper = true)
  16. @TableName("crm_quote_share_log")
  17. public class CrmQuoteShareLog extends TenantEntity {
  18. @Serial
  19. private static final long serialVersionUID = 1L;
  20. /**
  21. * 主键ID
  22. */
  23. @TableId(value = "id")
  24. private Long id;
  25. /**
  26. * 报价单ID
  27. */
  28. private Long quoteId;
  29. /**
  30. * 分享码
  31. */
  32. private String shareCode;
  33. /**
  34. * 访问时间
  35. */
  36. private LocalDateTime visitTime;
  37. /**
  38. * IP地址
  39. */
  40. private String ipAddress;
  41. /**
  42. * 地理位置(省市)
  43. */
  44. private String location;
  45. /**
  46. * 设备类型(PC/Mobile/Tablet)
  47. */
  48. private String deviceType;
  49. /**
  50. * 浏览器信息
  51. */
  52. private String browser;
  53. /**
  54. * 停留时长(秒)
  55. */
  56. private Integer stayDuration;
  57. /**
  58. * 浏览页数
  59. */
  60. private Integer pageViews;
  61. }