package com.bcxin.responses;

import com.bcxin.web.commons.responses.ResponseAbstract;
import lombok.Getter;

@Getter
public class AppDefinitionResponse extends ResponseAbstract {
    private final String id;
    private final String name;

    public AppDefinitionResponse(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public static AppDefinitionResponse create(String id, String name) {
        return new AppDefinitionResponse(id, name);
    }
}
