TmAttachment.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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_attachment")
  21. public class TmAttachment 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("file_name")
  32. private String fileName;
  33. /**
  34. * 附件类型
  35. */
  36. @TableField("attachment_type")
  37. private String attachmentType;
  38. /**
  39. * 文件类型:1->照片;2->文件
  40. */
  41. @TableField("type")
  42. private Integer type;
  43. /**
  44. * 附件的oss路径
  45. */
  46. @TableField("file_oss_url")
  47. private String fileOssUrl;
  48. /**
  49. * 附件所属的部门ID
  50. */
  51. @TableField("dept_id")
  52. private String deptId;
  53. /**
  54. * 附件上传人ID
  55. */
  56. @TableField("creator_id")
  57. private String creatorId;
  58. /**
  59. * 创建时间
  60. */
  61. @TableField("create_time")
  62. private Date createTime;
  63. /**
  64. * 最新更新时间
  65. */
  66. @TableField("update_time")
  67. private Date updateTime;
  68. /**
  69. * 是否删除: 0->未删除;1->已删除
  70. */
  71. @TableField("is_delete")
  72. @TableLogic
  73. private Integer isDelete;
  74. /**
  75. * 附件所属的火调项目ID
  76. */
  77. @TableField("project_id")
  78. private String projectId;
  79. }