package xiaozhi.modules.task.dto;
|
|
import java.util.List;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
@Data
|
@Schema(description = "xiaozhi-server 请求向设备一次性同步课文 MP3")
|
public class LessonSyncDTO {
|
@Schema(description = "设备 MAC")
|
private String macAddress;
|
|
@Schema(description = "固件 course_id,仅字母数字_-")
|
private String courseId;
|
|
@Schema(description = "机构 id,空则 default_org")
|
private String orgId;
|
|
@Schema(description = "设备可访问的 HTTP 根,含 /lesson-audio/{org}")
|
private String baseUrl;
|
|
@Schema(description = "SD 相对路径,如 /english_learning/repeater/lessons/l1/001/cn/01.mp3")
|
private List<String> files;
|
}
|