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

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

@Getter
public class DepartResponse extends ResponseAbstract {

    private final String departId;
    private final String departName;

    public DepartResponse(String departId, String departName) {
        this.departId = departId;
        this.departName = departName;
    }


    public static DepartResponse create(String departId, String departName) {
        return new DepartResponse(departId, departName);
    }
}
