SmsbMinioData.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. package com.inspur.source.domain;
  2. import com.baomidou.mybatisplus.annotation.TableId;
  3. import com.baomidou.mybatisplus.annotation.TableLogic;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import lombok.Data;
  6. import lombok.EqualsAndHashCode;
  7. import lombok.ToString;
  8. import org.dromara.common.tenant.core.TenantEntity;
  9. import java.io.Serial;
  10. import java.util.Date;
  11. /**
  12. * 文件资源对象 smsb_minio_data
  13. *
  14. * @author Hao Li
  15. * @date 2025-02-07
  16. */
  17. @Data
  18. @EqualsAndHashCode(callSuper = true)
  19. @TableName("smsb_minio_data")
  20. @ToString
  21. public class SmsbMinioData extends TenantEntity {
  22. @Serial
  23. private static final long serialVersionUID = 1L;
  24. /**
  25. * 主键ID
  26. */
  27. @TableId(value = "id")
  28. private Long id;
  29. /**
  30. * 桶名+文件名
  31. */
  32. private String keyName;
  33. /**
  34. * 文件相关信息
  35. */
  36. private String value;
  37. /**
  38. * 状态
  39. */
  40. private Long status;
  41. /**
  42. * 逻辑删除 0未删除1删除
  43. */
  44. @TableLogic
  45. private Integer delFlag;
  46. /**
  47. * 类型 1图片 ,2视频 3音频
  48. */
  49. private Integer type;
  50. /**
  51. * 原名
  52. */
  53. private String originalName;
  54. /**
  55. * 文件大小
  56. */
  57. private Integer size;
  58. /**
  59. * md5值
  60. */
  61. private String md5;
  62. /**
  63. * 子媒资排序
  64. */
  65. private Long sort;
  66. /**
  67. * 时长
  68. */
  69. private Long duration;
  70. private String resolution;
  71. private Integer codeRate;
  72. /**
  73. * 视频截图
  74. */
  75. private String screenshot;
  76. /**
  77. * AI审核ID
  78. */
  79. private Long aiAuditId;
  80. /**
  81. * 其他
  82. */
  83. private String remark;
  84. /**
  85. * 子文件的父key
  86. */
  87. private String parentKeyName;
  88. /**
  89. * 分类1:广告,2:公益,3:地方宣传,4.垫片
  90. */
  91. private Long tag;
  92. /**
  93. * 子分类(舍弃)
  94. */
  95. private Long subtag;
  96. /**
  97. * 分享(舍弃)
  98. */
  99. private Long shared;
  100. /**
  101. * (舍弃)
  102. */
  103. private Date lastSharedOpTime;
  104. /**
  105. * 0:不参与营销,1:参与营销
  106. */
  107. private Long marketing;
  108. private String createUser;
  109. /** 0-待转 1-成功 2-失败 */
  110. private Integer transState;
  111. private String fileUrl;
  112. /** 文件的下载地址 */
  113. private String downloadUrl;
  114. }