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 UpdateProjectRequest {
    
    @Size(max = 200, message = "项目名称最多200字符")
    @Schema(description = "项目名称")
    private String name;
    
    @Size(max = 2000, message = "项目描述最多2000字符")
    @Schema(description = "项目描述")
    private String description;
    
    @Schema(description = "状态: draft-草稿, extracting-提取中, completed-已完成, archived-已归档")
    private String status;
    
    @Schema(description = "项目配置")
    private Map<String, Object> config;
}
