cn.herodotus.stirrup.logic.bpmn.mongodb.domain.modeler.Schema Maven / Gradle / Ivy
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2020-2030 郑庚伟 ZHENGGENGWEI (码匠君), Licensed under the AGPL License
*
* This file is part of Herodotus Stirrup.
*
* Herodotus Stirrup is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Herodotus Stirrup is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
package cn.herodotus.stirrup.logic.bpmn.mongodb.domain.modeler;
import com.google.common.base.MoreObjects;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
/**
* Description: 动态表单元素数据
*
* @author : gengwei.zheng
* @date : 2023/2/17 11:46
*/
public class Schema implements Serializable {
private String title;
private String tag;
private Map attrs;
private Map models;
private List children;
private String text;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getTag() {
return tag;
}
public void setTag(String tag) {
this.tag = tag;
}
public Map getAttrs() {
return attrs;
}
public void setAttrs(Map attrs) {
this.attrs = attrs;
}
public Map getModels() {
return models;
}
public void setModels(Map models) {
this.models = models;
}
public List getChildren() {
return children;
}
public void setChildren(List children) {
this.children = children;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
@Override
public String toString() {
return MoreObjects.toStringHelper(this)
.add("title", title)
.add("tag", tag)
.add("text", text)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy