wangzhibo
2026-10-08 220e4fab27b7f419b3e89e2f2d28ae789aac09d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package xiaozhi.modules.timbre.entity;
 
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
/**
 * 音色表实体类
 * 
 * @author zjy
 * @since 2025-3-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ai_tts_voice")
@Schema(description = "音色信息")
public class TimbreEntity {
 
    @Schema(description = "id")
    private String id;
 
    @Schema(description = "语言")
    private String languages;
 
    @Schema(description = "音色名称")
    private String name;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "参考音频路径")
    private String referenceAudio;
 
    @Schema(description = "參考文本")
    private String referenceText;
 
    @Schema(description = "排序")
    @TableField(updateStrategy = FieldStrategy.NOT_NULL)
    private Long sort;
 
    @Schema(description = "对应 TTS 模型主键")
    private String ttsModelId;
 
    @Schema(description = "音色编码")
    private String ttsVoice;
 
    @Schema(description = "音频播放地址")
    private String voiceDemo;
 
    @Schema(description = "更新者")
    @TableField(fill = FieldFill.UPDATE)
    private Long updater;
 
    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateDate;
 
    @Schema(description = "创建者")
    @TableField(fill = FieldFill.INSERT)
    private Long creator;
 
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createDate;
 
}