package com.erp.dataimport.dto;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;

import java.time.LocalDateTime;

/**
 * 导入任务DTO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ImportTaskDTO {

    private Long id;

    private String taskName;

    private String bizType;

    private String bizTypeLabel;

    private String fileFormat;

    private String originalFileName;

    private Long fileSize;

    private Integer totalRows;

    private Integer successRows;

    private Integer failRows;

    private Integer skipRows;

    private String status;

    private String statusLabel;

    private Long tenantId;

    private Long creatorId;

    private String creatorName;

    private LocalDateTime finishTime;

    private String errorSummary;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private Double successRate;
}
