vikunja-frontend/src/models/taskAssignee.js

17 lines
332 B
JavaScript
Raw Normal View History

2019-11-24 14:16:24 +01:00
import AbstractModel from './abstractModel'
export default class TaskAssigneeModel extends AbstractModel {
constructor(data) {
super(data)
this.created = new Date(this.created)
}
2019-11-24 14:16:24 +01:00
defaults() {
return {
created: null,
2019-11-24 14:16:24 +01:00
user_id: 0,
task_id: 0,
}
}
}