package com.lingyue.extract.dto.request;

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

import java.util.Map;

/**
 * 创建模板请求
 * 
 * @author lingyue
 * @since 2026-01-23
 */
@Data
@Schema(description = "创建模板请求")
public class CreateTemplateRequest {
    
    @NotBlank(message = "模板名称不能为空")
    @Schema(description = "模板名称", required = true)
    private String name;
    
    @Schema(description = "模板描述")
    private String description;
    
    @Schema(description = "示例报告文档ID（可选，空白模板可不填）")
    private String baseDocumentId;
    
    @Schema(description = "模板配置")
    private Map<String, Object> config;
    
    @Schema(description = "是否公开", defaultValue = "false")
    private Boolean isPublic = false;
}
