package com.lesingle.edu.dto.request;

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

import java.util.List;

/**
 * 任务提交请求（家长端）
 */
@Data
@Schema(description = "任务提交请求")
public class TaskSubmitRequest {

    @Schema(description = "学生ID")
    private Long studentId;

    @Schema(description = "照片URL数组（最多9张）")
    @Size(max = 9, message = "照片最多上传9张")
    private List<String> photos;

    @Schema(description = "视频URL")
    private String videoUrl;

    @Schema(description = "语音URL")
    private String audioUrl;

    @Schema(description = "阅读心得/完成内容")
    @Size(max = 1000, message = "阅读心得最多1000字")
    private String content;

}
