aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorJoris2020-05-10 11:07:12 +0200
committerJoris2020-05-10 11:07:12 +0200
commita134f20eb62e6d174e7da81fd4adb7ff9e8b3b71 (patch)
treefe4b98d4a4636f20f28a5a7e5011a73171a2d182 /src/model
parente33a5e7aff3143c50813fee7c12f10f98d132240 (diff)
Add task description field
Diffstat (limited to 'src/model')
-rw-r--r--src/model/task.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/model/task.py b/src/model/task.py
index afbb2ca..cc7758d 100644
--- a/src/model/task.py
+++ b/src/model/task.py
@@ -6,10 +6,12 @@ class Task(NamedTuple):
created_at: int
modified_at: int
name: str
+ description: str
duration: int
tag: str
class ValidTaskForm(NamedTuple):
name: str
+ description: str
duration: int
tag: str