package com.ga.core.vo.upload;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * upload_history 테이블 1:1 VO.
 */
@Data
public class UploadHistoryVO {

    private Long historyId;
    private Long templateId;
    private String templateCode;
    private String fileName;
    private Long fileSize;
    private Integer totalCount;
    private Integer successCount;
    private Integer errorCount;
    private Integer skipCount;
    private Long errorFileId;

    /** PROCESSING / SUCCESS / PARTIAL / FAIL */
    private String status;

    private String errorMessage;
    private LocalDateTime startedAt;
    private LocalDateTime finishedAt;
    private Integer durationSec;
    private Long createdBy;
}
