task has now a date

This commit is contained in:
Julien Calixte
2023-04-09 10:33:26 +02:00
parent bef79ce468
commit 6682d58bcb
2 changed files with 3 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ import type { Stepable } from '@/use-cases/task/interfaces/stepable'
export interface Taskable {
id: string
title: string
date: Date
link: string | null
steps: Stepable[]
totalEstimation: number
}

View File

@@ -3,6 +3,7 @@ import type { Taskable } from '@/use-cases/task/interfaces/taskable'
import { Step } from '@/use-cases/task/models/step'
export class Task implements Taskable {
public date = new Date()
public steps: Step[] = []
public link: string | null = null