package com.bcxin.api.interfaces.tenants.responses;

import com.bcxin.api.interfaces.ResponseAbstract;
import lombok.Getter;

@Getter
public class CompanyRegistrationResponse extends ResponseAbstract {
    private final String id;
    private final String message;
    private final boolean isSuccess;
    private final String detail;

    public CompanyRegistrationResponse(String id, String message, boolean isSuccess, String detail) {
        this.id = id;
        this.message = message;
        this.isSuccess = isSuccess;
        this.detail = detail;
    }


    public static CompanyRegistrationResponse create(String id, String message, boolean isSuccess, String detail) {
        return new CompanyRegistrationResponse(id, message, isSuccess, detail);
    }
}
