package stirling.software.SPDF.model.api.misc;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;
import lombok.EqualsAndHashCode;

import stirling.software.SPDF.model.api.PDFFile;

@Data
@EqualsAndHashCode(callSuper = true)
public class RemoveBlankPagesRequest extends PDFFile {

    @Schema(
            description = "The threshold value to determine blank pages",
            example = "10",
            defaultValue = "10")
    private int threshold = 10;

    @Schema(
            description = "The percentage of white color on a page to consider it as blank",
            example = "99.9",
            defaultValue = "99.9")
    private float whitePercent = 99.9f;
}
