package com.arms.api.admin.backup.model.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.List;

@Getter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BackupSummaryVO {

    private String jobId;
    private String backupTime;
    private String backupPath;
    private int indexCount;
    private long totalDocs;
    private List<BackupIndexInfoVO> backupIndexInfoVOList;

    @Getter
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class BackupIndexInfoVO {
        private String indexName;
        private long docsCount;
        private String storeSize;
    }
}
