FamilyMoments.java 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. package com.mirage.mirageservice.domain;
  2. import java.util.Date;
  3. /**
  4. * Created by hzlinhai on 2025/10/23.
  5. */
  6. /**
  7. * 家族圈
  8. */
  9. public class FamilyMoments {
  10. private Long id;
  11. /**
  12. * 0:普通消息 1:定置公告
  13. */
  14. private Integer type;
  15. /**
  16. * 发布人
  17. */
  18. private Long publishUid;
  19. /**
  20. * 发布时间
  21. */
  22. private Date publishTime;
  23. /**
  24. * 公告设置实效时间,长期有效填-1
  25. */
  26. private Long expireTime;
  27. /**
  28. * json,eg: {"text":"我是一条家族圈","media":[{"url":"","type":0,"order":0},{"url":"","type":1,"order":1}]}
  29. */
  30. private String content;
  31. /**
  32. * 可见范围:0:全员 1:支系堂派 2:聚落 3:家族内男性 4:出生地
  33. */
  34. private Integer visibleType;
  35. /**
  36. * 对应visible_type值
  37. */
  38. private String visibleValue;
  39. private Integer isDeleted;
  40. private Date gmtCreate;
  41. private Date gmtModified;
  42. public Long getId() {
  43. return id;
  44. }
  45. public void setId(Long id) {
  46. this.id = id;
  47. }
  48. public Integer getType() {
  49. return type;
  50. }
  51. public void setType(Integer type) {
  52. this.type = type;
  53. }
  54. public Long getPublishUid() {
  55. return publishUid;
  56. }
  57. public void setPublishUid(Long publishUid) {
  58. this.publishUid = publishUid;
  59. }
  60. public Date getPublishTime() {
  61. return publishTime;
  62. }
  63. public void setPublishTime(Date publishTime) {
  64. this.publishTime = publishTime;
  65. }
  66. public Long getExpireTime() {
  67. return expireTime;
  68. }
  69. public void setExpireTime(Long expireTime) {
  70. this.expireTime = expireTime;
  71. }
  72. public String getContent() {
  73. return content;
  74. }
  75. public void setContent(String content) {
  76. this.content = content;
  77. }
  78. public Integer getVisibleType() {
  79. return visibleType;
  80. }
  81. public void setVisibleType(Integer visibleType) {
  82. this.visibleType = visibleType;
  83. }
  84. public String getVisibleValue() {
  85. return visibleValue;
  86. }
  87. public void setVisibleValue(String visibleValue) {
  88. this.visibleValue = visibleValue;
  89. }
  90. public Integer getIsDeleted() {
  91. return isDeleted;
  92. }
  93. public void setIsDeleted(Integer isDeleted) {
  94. this.isDeleted = isDeleted;
  95. }
  96. public Date getGmtCreate() {
  97. return gmtCreate;
  98. }
  99. public void setGmtCreate(Date gmtCreate) {
  100. this.gmtCreate = gmtCreate;
  101. }
  102. public Date getGmtModified() {
  103. return gmtModified;
  104. }
  105. public void setGmtModified(Date gmtModified) {
  106. this.gmtModified = gmtModified;
  107. }
  108. }