package jnpf.dmsEntity.preview.model; import lombok.Data; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; @Data public class DmsWatermarkSnapshot { private String watermarkType; /** True only for the request-scoped custom barcode placeholder. */ private Boolean customBarcode; private String content; /** Independent visible barcode label; null preserves the legacy content-as-label behavior. */ private String barcodeText; /** Null means every page; otherwise a normalized, nonempty list of physical page numbers. */ private List renderPages; private String imageUrl; private String barcodeFormat; private Boolean showBarcodeText; private String fontFamily; private String fontColor; private Integer fontSize; private Integer rotationAngle; private Integer opacity; private String layoutMode; private String horizontalAlign; private String verticalAlign; private BigDecimal markWidthMm; private BigDecimal markHeightMm; private BigDecimal repeatSpacingXMm; private BigDecimal repeatSpacingYMm; private List positions = new ArrayList<>(); }