package com.doumee.core.annotation.excel; import lombok.Data; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * Excel 行内嵌图片(商品主图 / 商品多图列) */ @Data public class RowEmbeddedImages { private EmbeddedImageItem mainImage; private List multiImages = new ArrayList<>(); public static RowEmbeddedImages empty() { return new RowEmbeddedImages(); } @Data public static class EmbeddedImageItem { private final byte[] data; private final String extension; private final int sortKey; public EmbeddedImageItem(byte[] data, String extension, int sortKey) { this.data = data; this.extension = extension; this.sortKey = sortKey; } } }