TmMessage.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package com.fdkankan.fusion.entity;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableLogic;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import java.io.Serializable;
  7. import java.util.Date;
  8. import lombok.Getter;
  9. import lombok.Setter;
  10. /**
  11. * <p>
  12. * 留言信息表
  13. * </p>
  14. *
  15. * @author
  16. * @since 2023-07-28
  17. */
  18. @Getter
  19. @Setter
  20. @TableName("tm_message")
  21. public class TmMessage implements Serializable {
  22. private static final long serialVersionUID = 1L;
  23. /**
  24. * 唯一ID
  25. */
  26. @TableId("id")
  27. private String id;
  28. /**
  29. * 留言内容
  30. */
  31. @TableField("content")
  32. private String content;
  33. /**
  34. * 留言所属的火调项目ID
  35. */
  36. @TableField("project_id")
  37. private String projectId;
  38. /**
  39. * 留言用户ID
  40. */
  41. @TableField("user_id")
  42. private String userId;
  43. /**
  44. * 创建时间
  45. */
  46. @TableField("create_time")
  47. private Date createTime;
  48. /**
  49. * 最新更新时间
  50. */
  51. @TableField("update_time")
  52. private Date updateTime;
  53. /**
  54. * 是否删除:0->未删除;1->已删除
  55. */
  56. @TableField("is_delete")
  57. @TableLogic
  58. private Integer isDelete;
  59. /**
  60. * 创建者ID
  61. */
  62. @TableField("creator_id")
  63. private String creatorId;
  64. @TableField(exist = false)
  65. private String userName;
  66. }