package com.fs.his.vo;

import lombok.Data;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 积分订单导入结果VO
 *
 * @author fs
 * @date 2025-01-XX
 */
@Data
public class FsIntegralOrderImportResultVO implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 成功数量 */
    private Integer successNum = 0;

    /** 失败数量 */
    private Integer failureNum = 0;

    /** 成功列表 */
    private List<ImportResultItem> successList = new ArrayList<>();

    /** 失败列表 */
    private List<ImportResultItem> failureList = new ArrayList<>();

    /**
     * 导入结果项
     */
    @Data
    public static class ImportResultItem implements Serializable {
        private static final long serialVersionUID = 1L;

        /** 行号 */
        private Integer rowNum;

        /** 订单号 */
        private String orderCode;

        /** 错误信息 */
        private String errorMessage;
    }
}

