VppFileArchive.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. package com.usky.vpp.domain;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import com.fasterxml.jackson.annotation.JsonFormat;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. import java.io.Serializable;
  10. import java.time.LocalDateTime;
  11. /**
  12. * 电子档案
  13. */
  14. @Data
  15. @EqualsAndHashCode(callSuper = false)
  16. @TableName("vpp_file_archive")
  17. public class VppFileArchive implements Serializable {
  18. private static final long serialVersionUID = 1L;
  19. /**
  20. * 主键
  21. */
  22. @TableId(type = IdType.AUTO)
  23. private Long id;
  24. /**
  25. * 档案名称
  26. */
  27. private String archiveName;
  28. /**
  29. * 原始文件名
  30. */
  31. private String fileName;
  32. /**
  33. * 存储路径
  34. */
  35. private String fileUrl;
  36. /**
  37. * 档案类型 1图纸 2文档 3设计稿 4验收报告 5其他
  38. */
  39. private Integer archiveType;
  40. /**
  41. * 文件类型
  42. */
  43. private String fileType;
  44. /**
  45. * 文件大小kb
  46. */
  47. private Double fileSize;
  48. /**
  49. * 业务类型
  50. */
  51. private String bizType;
  52. /**
  53. * 业务主键
  54. */
  55. private Long bizId;
  56. /**
  57. * 站点id
  58. */
  59. private Long siteId;
  60. /**
  61. * 备注
  62. */
  63. private String remark;
  64. /**
  65. * 上传人
  66. */
  67. private String createdBy;
  68. /**
  69. * 创建时间
  70. */
  71. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  72. private LocalDateTime createTime;
  73. /**
  74. * 更新时间
  75. */
  76. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  77. private LocalDateTime updateTime;
  78. /**
  79. * 更新人
  80. */
  81. private String updatedBy;
  82. /**
  83. * 软删除标识 0未删除 1已删除
  84. */
  85. @TableField("delete_flag")
  86. private Integer deleteFlag;
  87. /**
  88. * 软删除时间
  89. */
  90. @TableField("deleted_at")
  91. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  92. private LocalDateTime deletedAt;
  93. /**
  94. * 版本号 默认V1.0
  95. */
  96. private String version;
  97. /**
  98. * 租户id
  99. */
  100. @TableField("tenant_id")
  101. private Integer tenantId;
  102. }