package cn.iocoder.yudao.module.qcreport.engine; /** * 页边距(毫米),单位与前端 {@code engine/page.ts} 一致。 *
* 字段用包装类型:为 null 表示该项没配过,由 {@link PageSizes} 落到默认边距, * 与前端 {@code margin?.top ?? DEFAULT_MARGIN_MM} 的语义保持一致。 */ public record PageMargin(Double top, Double right, Double bottom, Double left) { /** 全部未配置 */ public static PageMargin none() { return new PageMargin(null, null, null, null); } }