export class Model {
user;
items;
constructor() {
this.user = "Андрей";
this.items = [new TodoItem("Купить цветы","08-30", false),
new TodoItem("Получить ботинки из мастерской","10-00", false),
new TodoItem("Заказать билеты в цирк", "10-30",false),
new TodoItem("Позвонить Юрию Самойлову","12-00", false),
new TodoItem("Отправить письмо Олегу Гринёву","14-20", false),
new TodoItem("Пообщаться с шефом","15-00", false)]
} }
export class TodoItem {
action; time; done;
constructor(action, time, done) {
this.action = action;
this.time = time;
this.done = done;
}
}