org.macrocloud.kernel.toolkit.node.TreeNode Maven / Gradle / Ivy
package org.macrocloud.kernel.toolkit.node;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 树型节点类.
*
* @author macro
*/
/**
* Instantiates a new tree node.
*/
@Data
/**
* Title: hashCode
* Description:
* @return
* @see org.macrocloud.kernel.toolkit.node.BaseNode#hashCode()
*/
@EqualsAndHashCode(callSuper = false)
public class TreeNode extends BaseNode {
/** The Constant serialVersionUID. */
private static final long serialVersionUID = 1L;
/** The title. */
private String title;
/** The key. */
@JsonSerialize(using = ToStringSerializer.class)
private Long key;
/** The value. */
@JsonSerialize(using = ToStringSerializer.class)
private Long value;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy