| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- package com.aitori.entity;
- import com.baomidou.mybatisplus.annotation.*;
- import io.swagger.v3.oas.annotations.media.Schema;
- import lombok.Data;
- import java.io.Serial;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import java.time.LocalDateTime;
- @Data
- @TableName(value = "t_ai_style", autoResultMap = true)
- @Schema(description = "风格表")
- public class TAiStyle implements Serializable {
- @Serial
- private static final long serialVersionUID = 1L;
- @TableId(value = "id", type = IdType.AUTO)
- @Schema(description = "id主键")
- private Integer id;
- @Schema(description = "风格名字")
- private String name;
- @TableField("`describe`")
- @Schema(description = "风格描述")
- private String describe;
- @Schema(description = "作者")
- private String author;
- @Schema(description = "风格封面,可以是一个视频封面")
- private String coverImg;
- @Schema(description = "媒体类型:0:图片,1:视频,2:图片视频混合")
- private String mediaType;
- @Schema(description = "详情图(逗号分割)")
- private String detailImg;
- @Schema(description = "标准定价(原价)")
- private BigDecimal originalStandardPlanPrice;
- @Schema(description = "标准定价(原价)(积分)")
- private Long originalStandardPlanPoints;
- @Schema(description = "标准定价")
- private BigDecimal standardPlanPrice;
- @Schema(description = "标准定价(积分)")
- private Long standardPlanPoints;
- @Schema(description = "快速套餐价格(原价)")
- private BigDecimal originalFastPlanPrice;
- @Schema(description = "快速套餐价格(原价)(积分)")
- private Long originalFastPlanPoints;
- @Schema(description = "快速套餐价格")
- private BigDecimal fastPlanPrice;
- @Schema(description = "快速套餐价格(积分)")
- private Long fastPlanPoints;
- @Schema(description = "排序")
- private Integer sort;
- @Schema(description = "风格的tag(限免、上新、等)")
- private String tagId;
- @TableField("`use`")
- @Schema(description = "风格的使用量")
- private Integer use;
- @Schema(description = "风格所需最低图片数量")
- private Integer minPic;
- @Schema(description = "风格所需最高图片数量")
- private Integer maxPic;
- @Schema(description = "快速套餐生成图片数量")
- private Integer fastPic;
- @Schema(description = "标准套餐生成图片数量")
- private Integer standardPic;
- @Schema(description = "模版zip文件")
- private String templateZip;
- @Schema(description = "展示类型 0:默认")
- private Integer showType = 0;
- @Schema(description = "样图下面区域文本标题")
- private String textTitleBelowSampleImg;
- @Schema(description = "样图下面区域文本内容")
- private String textContentBelowSampleImg;
- @Schema(description = "样图")
- private String sampleImg;
- @Schema(description = "详情图蒙版")
- private String detailImgMask;
- @Schema(description = "卡片模块下封面图")
- private String cardCoverImg;
- @Schema(description = "平台(iOS,安卓等)")
- private String platform;
- @Schema(description = "最小版本号")
- private String minVersionNum;
- @Schema(description = "最大版本号")
- private String maxVersionNum;
- @Schema(description = "样图标题")
- private String sampleImgTitle;
- @Schema(description = "样图描述")
- private String sampleImgDesc;
- @Schema(description = "stylemode")
- private Integer stylemode;
- @Schema(description = "inneed")
- private Integer inneed;
- @Schema(description = "角标")
- private String badge;
- @Schema(description = "角标颜色值")
- private String color;
- @Schema(description = "语言包")
- private String lang;
- @Schema(description = "ai平台(该字段当前默认使用2这个值,后续有其他的情况可以扩充)")
- private Integer apiType = 2;
- @Schema(description = "api调用默认参数")
- private String aiContent;
- @Schema(description = "滤镜能力,目前使用的情况中为workflow")
- private String aiType;
- @Schema(description = "requirements,用于后续在ai调用过程中的依赖使用")
- private String requirements;
- @Schema(description = "模版类型,0:可试用,1:vip")
- private Integer styleType;
- @Schema(description = "视频封面预览图")
- private String previewImg;
- @TableLogic
- @Schema(description = "逻辑删除字段")
- private Integer isDeleted;
- @TableField(fill = FieldFill.INSERT)
- @Schema(description = "创建时间")
- private LocalDateTime createTime;
- @TableField(fill = FieldFill.INSERT_UPDATE)
- @Schema(description = "更新时间")
- private LocalDateTime updateTime;
- }
|