package kz.konturai.parser.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.Max;

public class ResearchReportRequest {

    @NotBlank(message = "Query is required")
    private String query;

    private String lang = "ru";

    @Min(value = 1, message = "Depth must be between 1 and 5")
    @Max(value = 5, message = "Depth must be between 1 and 5")
    private Integer depth = 3;

    @Min(value = 2, message = "Breadth must be between 2 and 10")
    @Max(value = 10, message = "Breadth must be between 2 and 10")
    private Integer breadth = 5;

    private String reportType = "report";

    public ResearchReportRequest() {
    }

    public ResearchReportRequest(String query, String lang, Integer depth, Integer breadth, String reportType) {
        this.query = query;
        this.lang = lang;
        this.depth = depth;
        this.breadth = breadth;
        this.reportType = reportType;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang;
    }

    public Integer getDepth() {
        return depth;
    }

    public void setDepth(Integer depth) {
        this.depth = depth;
    }

    public Integer getBreadth() {
        return breadth;
    }

    public void setBreadth(Integer breadth) {
        this.breadth = breadth;
    }

    public String getReportType() {
        return reportType;
    }

    public void setReportType(String reportType) {
        this.reportType = reportType;
    }
}
