package com.lesingle.edu.dto.request;

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

/**
 * 任务模板创建请求
 */
@Data
@Schema(description = "任务模板创建请求")
public class TaskTemplateCreateRequest {

    @NotBlank(message = "模板名称不能为空")
    @Schema(description = "模板名称")
    private String name;

    @Schema(description = "模板描述")
    private String description;

    @Schema(description = "模板类型")
    private String type;

    @Schema(description = "任务类型")
    private String taskType;

    @Schema(description = "关联课程 ID")
    private Long relatedCourseId;

    @Schema(description = "默认持续时间 (天)")
    private Integer defaultDuration;

    @Schema(description = "是否默认模板")
    private Boolean isDefault;

    @Schema(description = "模板内容")
    private String content;

    @Schema(description = "是否公开")
    private Boolean isPublic;

}
