Todo Model #todoapp-angular-ngrx
export default class Todo {
_id:string;
title: string;
description: string;
date: Date;
status: string;
constructor(
){
this.title = ""
this.description = ""
this.date = new Date()
this.status = ""
}
static generateMockTodo() : Todo {
return {
_id: "new",
title: "",
description: "",
date: new Date(),
status: ""
}
}
}