package com.caliverse.admin.history.domain;

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

@Getter
@Setter
public class DataInitializeHistoryBase implements historyLog {

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

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