MceReceive.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. package com.usky.iot.domain;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import java.time.LocalDateTime;
  5. import java.io.Serializable;
  6. import com.fasterxml.jackson.annotation.JsonFormat;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. /**
  10. * <p>
  11. * 消息接收表
  12. * </p>
  13. *
  14. * @author han
  15. * @since 2024-04-19
  16. */
  17. @Data
  18. @EqualsAndHashCode(callSuper = false)
  19. public class MceReceive implements Serializable {
  20. private static final long serialVersionUID = 1L;
  21. /**
  22. * 主键ID
  23. */
  24. @TableId(value = "id", type = IdType.AUTO)
  25. private Integer id;
  26. /**
  27. * 接收人ID
  28. */
  29. private Integer receiverId;
  30. /**
  31. * 接收人
  32. */
  33. private String receiverName;
  34. /**
  35. * 消息类型
  36. */
  37. private String infoType;
  38. /**
  39. * 是否已读;0、未读,1、已读
  40. */
  41. private Integer readFlag;
  42. /**
  43. * 消息内容ID
  44. */
  45. private Integer contentId;
  46. /**
  47. * 子模块记录ID
  48. */
  49. private Integer moduleId;
  50. /**
  51. * 租户号
  52. */
  53. private Integer tenantId;
  54. /**
  55. * 组织机构ID
  56. */
  57. private Integer deptId;
  58. /**
  59. * 创建人
  60. */
  61. private String createBy;
  62. /**
  63. * 创建时间
  64. */
  65. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  66. private LocalDateTime createTime;
  67. /**
  68. * 更新人
  69. */
  70. private String updateBy;
  71. /**
  72. * 更新时间
  73. */
  74. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  75. private LocalDateTime updateTime;
  76. }