Attachment.java 600 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.zhixinghe1.ots.atomic.entity;
  2. import java.io.Serial;
  3. import java.io.Serializable;
  4. import io.mybatis.provider.Entity;
  5. import lombok.Data;
  6. /**
  7. * 上传附件
  8. */
  9. @Data
  10. @Entity.Table
  11. public class Attachment implements Serializable {
  12. @Serial
  13. private static final long serialVersionUID = 4041962380906355389L;
  14. /**
  15. * 主键
  16. */
  17. @Entity.Column(id = true)
  18. private Long id;
  19. /**
  20. * 文件名
  21. */
  22. private String name;
  23. /**
  24. * 文件路径
  25. */
  26. private String path;
  27. /**
  28. * 使用状态
  29. */
  30. private Boolean status;
  31. }