This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/models/userShareBase.js
kolaente 8c82c2302f
All checks were successful
continuous-integration/drone/push Build is passing
Fix changing the right of a list shared with a user
2020-02-26 20:34:14 +01:00

19 lines
329 B
JavaScript

import AbstractModel from './abstractModel'
export default class UserShareBaseModel extends AbstractModel {
constructor(data) {
super(data)
this.created = new Date(this.created)
this.updated = new Date(this.updated)
}
defaults() {
return {
userID: '',
right: 0,
created: null,
updated: null,
}
}
}