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