parent
8f04b10e08
commit
2a819eccb4
3 changed files with 0 additions and 19 deletions
|
@ -3,12 +3,6 @@ import UserModel from './user'
|
|||
import FileModel from './file'
|
||||
|
||||
export default class AttachmentModel extends AbstractModel {
|
||||
id = 0
|
||||
taskId = 0
|
||||
file = FileModel
|
||||
createdBy = UserModel
|
||||
created = null
|
||||
|
||||
constructor(data) {
|
||||
super(data)
|
||||
this.createdBy = new UserModel(this.createdBy)
|
||||
|
|
|
@ -2,12 +2,6 @@ import AbstractModel from '@/models/abstractModel'
|
|||
import UserModel from '@/models/user'
|
||||
|
||||
export default class SubscriptionModel extends AbstractModel {
|
||||
id = 0
|
||||
entity = ''
|
||||
entityId = 0
|
||||
created = null
|
||||
user = UserModel
|
||||
|
||||
constructor(data) {
|
||||
super(data)
|
||||
this.user = new UserModel(this.user)
|
||||
|
|
|
@ -10,13 +10,6 @@ import {parseDateOrNull} from '@/helpers/parseDateOrNull'
|
|||
const SUPPORTS_TRIGGERED_NOTIFICATION = 'Notification' in window && 'showTrigger' in Notification.prototype
|
||||
|
||||
export default class TaskModel extends AbstractModel {
|
||||
index = 0
|
||||
done = false
|
||||
priority = 0
|
||||
percentDone = 0
|
||||
|
||||
defaultColor = '198CFF'
|
||||
|
||||
constructor(data) {
|
||||
super(data)
|
||||
|
||||
|
|
Loading…
Reference in a new issue