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

import lombok.Data;

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

@Data
public class V2PreIdentifyImportVo implements Serializable {

    private static final long serialVersionUID = -6865135665273771381L;
    /**
     * 唯一标识,用于下载异常数据，和导入正常数据
     */
    private String uniqueId = UUID.randomUUID().toString();
    /**
     * 是否成功 true-成功 false-失败
     */

    private Boolean isSuccess = true;

    private List<V2PreIdentifyErrorVo> itemList = new ArrayList<>();

    public V2PreIdentifyImportVo(String uniqueId, Boolean isSuccess, List<V2PreIdentifyErrorVo> itemList) {
        this.uniqueId = uniqueId;
        this.isSuccess = isSuccess;
        this.itemList = itemList;
    }
    public V2PreIdentifyImportVo() {
    }
}
