MatchmakerSuccessCaseUpload.java 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. package com.zhentao.entity;
  2. import com.baomidou.mybatisplus.annotation.*;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import lombok.Data;
  5. import java.io.Serializable;
  6. import java.math.BigDecimal;
  7. import java.time.LocalDate;
  8. import java.time.LocalDateTime;
  9. /**
  10. * 红娘上传成功案例实体类
  11. */
  12. @Data
  13. @TableName("matchmaker_success_case_upload")
  14. public class MatchmakerSuccessCaseUpload implements Serializable {
  15. private static final long serialVersionUID = 1L;
  16. /**
  17. * 主键ID
  18. */
  19. @TableId(value = "id", type = IdType.AUTO)
  20. private Long id;
  21. /**
  22. * 撮合红娘ID
  23. */
  24. private Integer matchmakerId;
  25. /**
  26. * 男方用户ID
  27. */
  28. private Integer maleUserId;
  29. /**
  30. * 女方用户ID
  31. */
  32. private Integer femaleUserId;
  33. /**
  34. * 男方真实姓名
  35. */
  36. private String maleRealName;
  37. /**
  38. * 女方真实姓名
  39. */
  40. private String femaleRealName;
  41. /**
  42. * 成功凭证图片路径(JSON数组格式)
  43. */
  44. private String proofImages;
  45. /**
  46. * 案例类型:1-订婚 2-领证结婚
  47. */
  48. private Integer caseType;
  49. /**
  50. * 成功日期(结婚日期/订婚日期)
  51. */
  52. @JsonFormat(pattern = "yyyy-MM-dd")
  53. private LocalDate caseDate;
  54. /**
  55. * 审核状态:0-待审核 1-审核通过 2-审核失败 3-核实中
  56. */
  57. private Integer auditStatus;
  58. /**
  59. * 审核备注(失败原因)
  60. */
  61. private String auditRemark;
  62. /**
  63. * 审核人ID(管理员)
  64. */
  65. private Integer auditorId;
  66. /**
  67. * 积分奖励
  68. */
  69. private Integer pointsReward;
  70. /**
  71. * 现金奖励
  72. */
  73. private BigDecimal cashReward;
  74. /**
  75. * 奖励状态:0-未发放 1-已发放
  76. */
  77. private Integer rewardStatus;
  78. /**
  79. * 是否发布到成功案例展示:0-否 1-是
  80. */
  81. private Integer isPublished;
  82. /**
  83. * 关联的成功案例ID
  84. */
  85. private Integer publishedCaseId;
  86. /**
  87. * 是否已读:0-未读 1-已读
  88. */
  89. private Integer isRead;
  90. /**
  91. * 上传时间
  92. */
  93. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  94. @TableField(fill = FieldFill.INSERT)
  95. private LocalDateTime createdAt;
  96. /**
  97. * 更新时间
  98. */
  99. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  100. @TableField(fill = FieldFill.INSERT_UPDATE)
  101. private LocalDateTime updatedAt;
  102. /**
  103. * 审核时间
  104. */
  105. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  106. private LocalDateTime auditedAt;
  107. }