Commit 3d32e238 authored by Jérome Perrin's avatar Jérome Perrin

Add an id on Entities

parent 85cdebbf
...@@ -32,6 +32,7 @@ class Entity(object): ...@@ -32,6 +32,7 @@ class Entity(object):
type="Entity" type="Entity"
def __init__(self, id=None, name=None, priority=0, dueDate=None, orderDate=None, isCritical=False): def __init__(self, id=None, name=None, priority=0, dueDate=None, orderDate=None, isCritical=False):
self.id = id
self.name=name self.name=name
# information on the object holding the entity # information on the object holding the entity
# initialized as None and updated every time an entity enters a new object # initialized as None and updated every time an entity enters a new object
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment