diff options
Diffstat (limited to 'todo/model/task.py')
-rw-r--r-- | todo/model/task.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/todo/model/task.py b/todo/model/task.py index f20cbc9..086a84b 100644 --- a/todo/model/task.py +++ b/todo/model/task.py @@ -1,22 +1,17 @@ from typing import NamedTuple, List - -from todo.model.difficulty import Difficulty -from todo.model.priority import Priority +from PyQt5 import QtCore +from datetime import date class Task(NamedTuple): id: int created_at: int updated_at: int name: str - duration: int - difficulty: Difficulty - priority: Priority + due_date: date description: str class ValidTaskForm(NamedTuple): name: str - duration: int - difficulty: Difficulty - priority: Priority + due_date: date tags: List[int] description: str |