package com.knecon.fforesight.service.layoutparser.internal.api.data.redaction;

import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldDefaults;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Schema(description = "Object containing information about the document's pages.")
public class DocumentPage implements Serializable {

    @Schema(description = "The page number, starting with 1.")
    int number;
    @Schema(description = "The page height in PDF user units.", example = "792")
    int height;
    @Schema(description = "The page width in PDF user units.", example = "694")
    int width;
    @Schema(description = "The page rotation as specified by the PDF.", example = "90", allowableValues = {"0", "90", "180", "270"})
    int rotation;

}
