29 lines
689 B
Java
29 lines
689 B
Java
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;
|
|
}
|
|
} |