package org.diagbot.entity.node.base;

import lombok.Getter;
import lombok.Setter;
import org.neo4j.ogm.annotation.GeneratedValue;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.Property;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description: 节点基础类
 * @author: gaodm
 * @time: 2019/3/27 15:30
 */
@Getter
@Setter
public class BaseNode {
    @Id
    @GeneratedValue
    private Long nodeId;

    @Property(name = "name")
    private String name;

    @Property(name = "label")
    private String label;
}
