HistoryLogEntity.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. package net.mingsoft.cms.entity;
  2. import com.alibaba.fastjson.annotation.JSONField;
  3. import org.springframework.format.annotation.DateTimeFormat;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import net.mingsoft.base.entity.BaseEntity;
  6. import java.util.Date;
  7. /**
  8. * 文章浏览记录实体
  9. * @author 铭飞开发团队
  10. * 创建日期:2019-12-23 9:24:03<br/>
  11. * 历史修订:<br/>
  12. */
  13. public class HistoryLogEntity extends BaseEntity {
  14. private static final long serialVersionUID = 1577064243576L;
  15. /**
  16. * 文章编号
  17. */
  18. private String contentId;
  19. /**
  20. * 浏览ip
  21. */
  22. private String hlIp;
  23. /**
  24. * 用户idp
  25. */
  26. private String peopleId;
  27. /**
  28. * 是否为移动端
  29. */
  30. private Boolean hlIsMobile;
  31. /**
  32. * 设置文章编号
  33. */
  34. public void setContentId(String contentId) {
  35. this.contentId = contentId;
  36. }
  37. /**
  38. * 获取文章编号
  39. */
  40. public String getContentId() {
  41. return this.contentId;
  42. }
  43. /**
  44. * 设置浏览ip
  45. */
  46. public void setHlIp(String hlIp) {
  47. this.hlIp = hlIp;
  48. }
  49. /**
  50. * 获取浏览ip
  51. */
  52. public String getHlIp() {
  53. return this.hlIp;
  54. }
  55. public String getPeopleId() {
  56. return peopleId;
  57. }
  58. public void setPeopleId(String peopleId) {
  59. this.peopleId = peopleId;
  60. }
  61. /**
  62. * 设置是否为移动端
  63. */
  64. public void setHlIsMobile(Boolean hlIsMobile) {
  65. this.hlIsMobile = hlIsMobile;
  66. }
  67. /**
  68. * 获取是否为移动端
  69. */
  70. public Boolean getHlIsMobile() {
  71. return this.hlIsMobile;
  72. }
  73. }