TAiStyle.java 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. package com.aitori.entity;
  2. import com.baomidou.mybatisplus.annotation.*;
  3. import io.swagger.v3.oas.annotations.media.Schema;
  4. import lombok.Data;
  5. import java.io.Serial;
  6. import java.io.Serializable;
  7. import java.math.BigDecimal;
  8. import java.time.LocalDateTime;
  9. @Data
  10. @TableName(value = "t_ai_style", autoResultMap = true)
  11. @Schema(description = "风格表")
  12. public class TAiStyle implements Serializable {
  13. @Serial
  14. private static final long serialVersionUID = 1L;
  15. @TableId(value = "id", type = IdType.AUTO)
  16. @Schema(description = "id主键")
  17. private Integer id;
  18. @Schema(description = "风格名字")
  19. private String name;
  20. @TableField("`describe`")
  21. @Schema(description = "风格描述")
  22. private String describe;
  23. @Schema(description = "作者")
  24. private String author;
  25. @Schema(description = "风格封面,可以是一个视频封面")
  26. private String coverImg;
  27. @Schema(description = "媒体类型:0:图片,1:视频,2:图片视频混合")
  28. private String mediaType;
  29. @Schema(description = "详情图(逗号分割)")
  30. private String detailImg;
  31. @Schema(description = "标准定价(原价)")
  32. private BigDecimal originalStandardPlanPrice;
  33. @Schema(description = "标准定价(原价)(积分)")
  34. private Long originalStandardPlanPoints;
  35. @Schema(description = "标准定价")
  36. private BigDecimal standardPlanPrice;
  37. @Schema(description = "标准定价(积分)")
  38. private Long standardPlanPoints;
  39. @Schema(description = "快速套餐价格(原价)")
  40. private BigDecimal originalFastPlanPrice;
  41. @Schema(description = "快速套餐价格(原价)(积分)")
  42. private Long originalFastPlanPoints;
  43. @Schema(description = "快速套餐价格")
  44. private BigDecimal fastPlanPrice;
  45. @Schema(description = "快速套餐价格(积分)")
  46. private Long fastPlanPoints;
  47. @Schema(description = "排序")
  48. private Integer sort;
  49. @Schema(description = "风格的tag(限免、上新、等)")
  50. private String tagId;
  51. @TableField("`use`")
  52. @Schema(description = "风格的使用量")
  53. private Integer use;
  54. @Schema(description = "风格所需最低图片数量")
  55. private Integer minPic;
  56. @Schema(description = "风格所需最高图片数量")
  57. private Integer maxPic;
  58. @Schema(description = "快速套餐生成图片数量")
  59. private Integer fastPic;
  60. @Schema(description = "标准套餐生成图片数量")
  61. private Integer standardPic;
  62. @Schema(description = "模版zip文件")
  63. private String templateZip;
  64. @Schema(description = "展示类型 0:默认")
  65. private Integer showType = 0;
  66. @Schema(description = "样图下面区域文本标题")
  67. private String textTitleBelowSampleImg;
  68. @Schema(description = "样图下面区域文本内容")
  69. private String textContentBelowSampleImg;
  70. @Schema(description = "样图")
  71. private String sampleImg;
  72. @Schema(description = "详情图蒙版")
  73. private String detailImgMask;
  74. @Schema(description = "卡片模块下封面图")
  75. private String cardCoverImg;
  76. @Schema(description = "平台(iOS,安卓等)")
  77. private String platform;
  78. @Schema(description = "最小版本号")
  79. private String minVersionNum;
  80. @Schema(description = "最大版本号")
  81. private String maxVersionNum;
  82. @Schema(description = "样图标题")
  83. private String sampleImgTitle;
  84. @Schema(description = "样图描述")
  85. private String sampleImgDesc;
  86. @Schema(description = "stylemode")
  87. private Integer stylemode;
  88. @Schema(description = "inneed")
  89. private Integer inneed;
  90. @Schema(description = "角标")
  91. private String badge;
  92. @Schema(description = "角标颜色值")
  93. private String color;
  94. @Schema(description = "语言包")
  95. private String lang;
  96. @Schema(description = "ai平台(该字段当前默认使用2这个值,后续有其他的情况可以扩充)")
  97. private Integer apiType = 2;
  98. @Schema(description = "api调用默认参数")
  99. private String aiContent;
  100. @Schema(description = "滤镜能力,目前使用的情况中为workflow")
  101. private String aiType;
  102. @Schema(description = "requirements,用于后续在ai调用过程中的依赖使用")
  103. private String requirements;
  104. @Schema(description = "模版类型,0:可试用,1:vip")
  105. private Integer styleType;
  106. @Schema(description = "视频封面预览图")
  107. private String previewImg;
  108. @TableLogic
  109. @Schema(description = "逻辑删除字段")
  110. private Integer isDeleted;
  111. @TableField(fill = FieldFill.INSERT)
  112. @Schema(description = "创建时间")
  113. private LocalDateTime createTime;
  114. @TableField(fill = FieldFill.INSERT_UPDATE)
  115. @Schema(description = "更新时间")
  116. private LocalDateTime updateTime;
  117. }