package com.multictrl.modules.business.dto.speaker;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import lombok.Data;

/**
 * tts喊话参数
 *
 * @author Sdy
 * @since 1.0.0 2026/5/6
 */
@Data
@Schema(name = "tts喊话设置参数")
public class SpeakerSet {

    @Max(value = 100, message = "音量最大100")
    @Min(value = 0, message = "音量最大0")
    @Schema(description = "音量 max:100 min:0，默认50", example = "50")
    private Integer volume = 50;

    @Schema(description = "类型 0:男生 1:女生，默认男生", example = "0")
    private Integer type = 0;

    @Schema(description = "语言 0:中文 1:英文，默认中文", example = "0")
    private Integer language = 0;

    @Max(value = 100, message = "语速最大100")
    @Min(value = 0, message = "语速最大0")
    @Schema(description = "语速 max:100 min:0，默认50", example = "50")
    private Integer speed = 50;
}
