19 lines
No EOL
326 B
JavaScript
19 lines
No EOL
326 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,
|
|
}
|
|
}
|
|
} |