aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/model')
-rw-r--r--src/model/task.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/model/task.py b/src/model/task.py
index 26496c4..afbb2ca 100644
--- a/src/model/task.py
+++ b/src/model/task.py
@@ -6,8 +6,10 @@ class Task(NamedTuple):
created_at: int
modified_at: int
name: str
+ duration: int
tag: str
-class TaskForm(NamedTuple):
+class ValidTaskForm(NamedTuple):
name: str
+ duration: int
tag: str