Newer
Older
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
class User(StructuredNode):
# uuid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
name=StringProperty()
surname=StringProperty()