package com.dgt.graphdemo.entity;

import lombok.Data;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.NodeEntity;

/**
 * @author lugela
 * @Title: RepEntity
 * @ProjectName graphdemo
 * @Description: TODO
 * @date 2019/6/24 16:41
 */
@NodeEntity("Pid")
@Data
public class RepEntity {
    @GraphId
    private Long id;
    private String name;
}
