import Utils from './utils';
import {DateOnly} from './util/time';

export default class TaskModel {
	constructor(description, id = Utils.guid(), completed = null, dateAdded = DateOnly()) {
    this.description = description;
    this.id = id;
    this.completed = completed;
    this.dateAdded = dateAdded
  }
}
import Utils from './utils';
import {DateOnly} from './util/time';

export default class TaskModel {
	constructor(description, completed = null, dateAdded = DateOnly(), id = Utils.guid()) {
    this.description = description;
    this.completed = completed;
    this.dateAdded = dateAdded
    this.id = id;
  }
}
Change order of arguments