package com.caliverse.admin.mongodb.domain;

import com.caliverse.admin.domain.entity.EInitDataType;
import com.caliverse.admin.mongodb.entity.DBType;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DataInitializeHistoryBase {

    private DBType dbType;
    private EInitDataType initDataType;
    private String tableName;
    private boolean isSuccess;
    private String message;

    public DataInitializeHistoryBase(DBType dbType,
                                     EInitDataType initDataType,
                                     String tableName,
                                     boolean isSuccess,
                                     String message
    ) {
        this.dbType = dbType;
        this.initDataType = initDataType;
        this.tableName = tableName;
        this.isSuccess = isSuccess;
        this.message = message;
    }
}
