cn.herodotus.stirrup.logic.bpmn.mongodb.domain.modeler.Element 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;
/**
* Description: 动态表单元素数据对象
*
* @author : gengwei.zheng
* @date : 2023/2/17 11:52
*/
public class Element implements Serializable {
private String id;
private Config config;
private Schema schema;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Config getConfig() {
return config;
}
public void setConfig(Config config) {
this.config = config;
}
public Schema getSchema() {
return schema;
}
public void setSchema(Schema schema) {
this.schema = schema;
}
@Override
public String toString() {
return MoreObjects.toStringHelper(this)
.add("id", id)
.add("config", config)
.add("schema", schema)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy