Complete the model entities.
This commit is contained in:
@@ -2,4 +2,6 @@ export interface Task {
|
|||||||
title: string;
|
title: string;
|
||||||
creationDate: Date;
|
creationDate: Date;
|
||||||
description: string;
|
description: string;
|
||||||
|
subtasks: Task[];
|
||||||
|
isAsync: boolean;
|
||||||
}
|
}
|
||||||
9
src/app/core/entity/taskList.ts
Normal file
9
src/app/core/entity/taskList.ts
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import { Task } from "./task";
|
||||||
|
|
||||||
|
export interface TaskList {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
tasks: Task[],
|
||||||
|
achievedTasks: Task[];
|
||||||
|
abandonnedTasks: Task[];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user