feat: add script tts backend
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
package com.emotion.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.emotion.common.BaseEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@SuperBuilder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@TableName("t_tts_task")
|
||||
public class TtsTask extends BaseEntity {
|
||||
|
||||
@TableField("user_id")
|
||||
private String userId;
|
||||
|
||||
@TableField("source_type")
|
||||
private String sourceType;
|
||||
|
||||
@TableField("source_id")
|
||||
private String sourceId;
|
||||
|
||||
@TableField("text_hash")
|
||||
private String textHash;
|
||||
|
||||
@TableField("text_length")
|
||||
private Integer textLength;
|
||||
|
||||
@TableField("voice")
|
||||
private String voice;
|
||||
|
||||
@TableField("status")
|
||||
private String status;
|
||||
|
||||
@TableField("audio_url")
|
||||
private String audioUrl;
|
||||
|
||||
@TableField("audio_path")
|
||||
private String audioPath;
|
||||
|
||||
@TableField("duration_ms")
|
||||
private Long durationMs;
|
||||
|
||||
@TableField("error_message")
|
||||
private String errorMessage;
|
||||
|
||||
@TableField("request_count")
|
||||
private Integer requestCount;
|
||||
}
|
||||
Reference in New Issue
Block a user