package com.lingyue.extract.dto.request;

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

import java.util.Map;

/**
 * 更新来源文档请求
 * 
 * @author lingyue
 * @since 2026-01-22
 */
@Data
@Schema(description = "更新来源文档请求")
public class UpdateSourceDocumentRequest {
    
    @Size(max = 100, message = "别名最多100字符")
    @Schema(description = "文档别名")
    private String alias;
    
    @Schema(description = "文档类型: pdf/docx/xlsx")
    private String docType;
    
    @Schema(description = "显示顺序")
    private Integer displayOrder;
    
    @Schema(description = "元数据")
    private Map<String, Object> metadata;
}
