package jnpf.model.cultivate.v2.common.vo;

import jnpf.model.cultivate.v2.item_pool.vo.V2IdentifyItemVo;
import lombok.Data;
import org.apache.poi.ss.formula.functions.T;

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

@Data
public class V2PreImportVo implements Serializable {

    private static final long serialVersionUID = -6865135665273771381L;
    /**
     * 唯一标识,用于下载异常数据，和导入正常数据
     */
    private String uniqueId;
    /**
     * 正常数据条数
     */
    private Integer normalNumber;
    /**
     * 异常数据条数
     */
    private Integer errorNumber;


    /**
     * sheet对应正常内容
     */
    private List<V2IdentifyItemVo> normal = new ArrayList<>();

    /**
     * sheet对应的异常内容
     */
    private List<V2IdentifyItemVo> error = new ArrayList<>();

    public V2PreImportVo(String uniqueId, List<V2IdentifyItemVo> error, List<V2IdentifyItemVo> normal, Integer errorNumber, Integer normalNumber) {
        this.uniqueId = uniqueId;
        this.error = error;
        this.normal = normal;
        this.errorNumber = errorNumber;
        this.normalNumber = normalNumber;
    }
    public V2PreImportVo() {
    }
}
