package com.easyagents.document.pptx.model;

import java.util.ArrayList;
import java.util.List;

/**
 * 单页幻灯片工件。
 *
 * @author Codex
 * @since 2026-04-16
 */
public class PptxSlideArtifact {

    private Integer slideIndex;
    private String title;
    private String imageName;
    private String imagePath;
    private String ocrMarkdown;
    private Object middleJson;
    private Object contentList;
    private List<String> warnings = new ArrayList<String>();

    public Integer getSlideIndex() {
        return slideIndex;
    }

    public void setSlideIndex(Integer slideIndex) {
        this.slideIndex = slideIndex;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImageName() {
        return imageName;
    }

    public void setImageName(String imageName) {
        this.imageName = imageName;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public String getOcrMarkdown() {
        return ocrMarkdown;
    }

    public void setOcrMarkdown(String ocrMarkdown) {
        this.ocrMarkdown = ocrMarkdown;
    }

    public Object getMiddleJson() {
        return middleJson;
    }

    public void setMiddleJson(Object middleJson) {
        this.middleJson = middleJson;
    }

    public Object getContentList() {
        return contentList;
    }

    public void setContentList(Object contentList) {
        this.contentList = contentList;
    }

    public List<String> getWarnings() {
        return warnings;
    }

    public void setWarnings(List<String> warnings) {
        this.warnings = warnings == null ? new ArrayList<String>() : warnings;
    }
}
