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