added batch file upload feature
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package zw.qantra.tm.domain.dtos;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import zw.qantra.tm.domain.models.GroupBatch;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
public class GroupCreateFromFileResult {
|
||||
private GroupBatch batch;
|
||||
private int totalRows;
|
||||
private int successCount;
|
||||
private int errorCount;
|
||||
private List<RowError> errors;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
public static class RowError {
|
||||
private int lineNumber;
|
||||
private String account;
|
||||
private String name;
|
||||
private String message;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user