class SubModel {

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SubModel that = (SubModel) o;
        return Objects.equals(languageModel, that.languageModel) &&
            Objects.equals(dialog, that.dialog) &&
            Objects.equals(prompts, that.prompts);
    }

    public  SubModel(SubLanguageModel languageModel, Dialog dialog, List<Prompt> prompts);

}