package com.product.data.center.entity;
|
|
import com.product.core.entity.DataTableEntity;
|
|
/**
|
* @Author cheng
|
* @Date 2022/7/14 16:04
|
* @PackageName:com.product.data.center.entity
|
* @ClassName: BatchErrorEntity
|
* @Description: 批处理错误
|
* @Version 1.0
|
*/
|
public class BatchExecuteEntity {
|
|
private boolean isError;
|
|
private int maxId;
|
|
private int minId;
|
|
private int pageIndex;
|
|
private String errorMessage;
|
|
private DataTableEntity dte;
|
|
|
public BatchExecuteEntity(int maxId, int minId) {
|
this.maxId = maxId;
|
this.minId = minId;
|
this.isError = false;
|
}
|
|
public BatchExecuteEntity(DataTableEntity dte, int maxId, int minId, int pageIndex, String errorMessage) {
|
this.dte = dte;
|
this.maxId = maxId;
|
this.minId = minId;
|
this.pageIndex = pageIndex;
|
this.errorMessage = errorMessage;
|
this.isError = true;
|
}
|
|
public int getMaxId() {
|
return maxId;
|
}
|
|
public int getMinId() {
|
return minId;
|
}
|
|
public int getPageIndex() {
|
return pageIndex;
|
}
|
|
public String getErrorMessage() {
|
return errorMessage;
|
}
|
|
public DataTableEntity getDte() {
|
return dte;
|
}
|
}
|