SysFile.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. package com.usky.cockpit.model;
  2. import com.baomidou.mybatisplus.annotation.FieldFill;
  3. import com.baomidou.mybatisplus.annotation.IdType;
  4. import com.baomidou.mybatisplus.annotation.TableField;
  5. import com.baomidou.mybatisplus.annotation.TableId;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import java.io.Serializable;
  8. /**
  9. * <p>
  10. *
  11. * </p>
  12. *
  13. * @author fc
  14. * @since 2022-12-22
  15. */
  16. @TableName("sys_file")
  17. public class SysFile implements Serializable {
  18. private static final long serialVersionUID = 1L;
  19. @TableId(value = "id", type = IdType.INPUT)
  20. private String id;
  21. private String fileName;
  22. private Integer fileSize;
  23. private String fileSuffix;
  24. /**
  25. * 虚拟路径
  26. */
  27. private String virtualKey;
  28. /**
  29. * 相对路径
  30. */
  31. private String relativePath;
  32. /**
  33. * 绝对路径
  34. */
  35. private String absolutePath;
  36. @TableField(fill = FieldFill.INSERT)
  37. private String createTime;
  38. public String getId() {
  39. return id;
  40. }
  41. public void setId(String id) {
  42. this.id = id;
  43. }
  44. public String getFileName() {
  45. return fileName;
  46. }
  47. public void setFileName(String fileName) {
  48. this.fileName = fileName;
  49. }
  50. public Integer getFileSize() {
  51. return fileSize;
  52. }
  53. public void setFileSize(Integer fileSize) {
  54. this.fileSize = fileSize;
  55. }
  56. public String getFileSuffix() {
  57. return fileSuffix;
  58. }
  59. public void setFileSuffix(String fileSuffix) {
  60. this.fileSuffix = fileSuffix;
  61. }
  62. public String getCreateTime() {
  63. return createTime;
  64. }
  65. public void setCreateTime(String createTime) {
  66. this.createTime = createTime;
  67. }
  68. public String getVirtualKey() {
  69. return virtualKey;
  70. }
  71. public void setVirtualKey(String virtualKey) {
  72. this.virtualKey = virtualKey;
  73. }
  74. public String getAbsolutePath() {
  75. return absolutePath;
  76. }
  77. public void setAbsolutePath(String absolutePath) {
  78. this.absolutePath = absolutePath;
  79. }
  80. public String getRelativePath() {
  81. return relativePath;
  82. }
  83. public void setRelativePath(String relativePath) {
  84. this.relativePath = relativePath;
  85. }
  86. }