comments and shop types

This commit is contained in:
j.mei7
2022-03-22 20:02:33 +01:00
parent 4c647c8d73
commit 868f9eba0f
9 changed files with 101 additions and 62 deletions

View File

@@ -1,3 +1,10 @@
class Shop:
# TODO More optional details/attributes. Example: "website", "brand", "Telefone", "Owner"
def __init__(self, _nodeIds, _name, _type):
self.nodeIds = _nodeIds
self.name = _name
self.type = _type
class Node:
def __init__(self, _id, _lon, _lat, _version, _timestamp, _changeset, _uid, _user):
self.id = int(_id)