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

import com.bcxin.api.interfaces.ResponseAbstract;

public class DepartmentResponse extends ResponseAbstract {
    private final String id;
    private final String message;
    private final boolean isSuccess;
    private final String detail;

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


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