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.List;

/**
 * 添加来源文件定义请求
 * 
 * @author lingyue
 * @since 2026-01-23
 */
@Data
@Schema(description = "添加来源文件定义请求")
public class AddSourceFileRequest {
    
    @NotBlank(message = "文件别名不能为空")
    @Schema(description = "文件别名，如'可研批复'", required = true)
    private String alias;
    
    @Schema(description = "文件说明")
    private String description;
    
    @Schema(description = "允许的文件类型", defaultValue = "[\"pdf\", \"docx\"]")
    private List<String> fileTypes;
    
    @Schema(description = "是否必须", defaultValue = "true")
    private Boolean required = true;
    
    @Schema(description = "示例文件文档ID")
    private String exampleDocumentId;
}
