FileInfo.java 989 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package com.fjhx.entity;
  2. import com.baomidou.mybatisplus.annotation.FieldFill;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableLogic;
  5. import com.fjhx.base.BaseEntity;
  6. import lombok.Data;
  7. import lombok.EqualsAndHashCode;
  8. /**
  9. * <p>
  10. * 文件
  11. * </p>
  12. *
  13. * @author ${author}
  14. * @since 2022-07-07
  15. */
  16. @Data
  17. @EqualsAndHashCode(callSuper = true)
  18. public class FileInfo extends BaseEntity {
  19. /**
  20. * 文件名称
  21. */
  22. private String fileName;
  23. /**
  24. * 文件后缀
  25. */
  26. private String fileSuffix;
  27. /**
  28. * 文件类型
  29. */
  30. private Integer fileType;
  31. /**
  32. * 文件大小
  33. */
  34. private Long fileSize;
  35. /**
  36. * 业务id
  37. */
  38. private Long businessId;
  39. /**
  40. * 业务类型
  41. */
  42. private Integer businessType;
  43. /**
  44. * 逻辑删除 0未删除 1已删除
  45. */
  46. @TableField(fill = FieldFill.INSERT)
  47. @TableLogic
  48. private Integer delFlag;
  49. }