All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.herodotus.stirrup.logic.bpmn.mongodb.domain.component.DataItem Maven / Gradle / Ivy

The newest version!
/*
 * 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.component;

import com.google.common.base.MoreObjects;

import java.io.Serializable;

/**
 * 

Description: 对应前端组件通用基础数据实体

* * @author : gengwei.zheng * @date : 2023/3/3 21:34 */ public class DataItem implements Serializable { private String label; private T value; public String getLabel() { return label; } public void setLabel(String label) { this.label = label; } public T getValue() { return value; } public void setValue(T value) { this.value = value; } @Override public String toString() { return MoreObjects.toStringHelper(this) .add("label", label) .add("value", value) .toString(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy