2019-03-02 11:25:10 +01:00
|
|
|
import UserModel from './user'
|
2020-03-03 21:02:13 +01:00
|
|
|
import {merge} from 'lodash'
|
2019-03-02 11:25:10 +01:00
|
|
|
|
|
|
|
export default class TeamMemberModel extends UserModel {
|
|
|
|
defaults() {
|
|
|
|
return merge(
|
|
|
|
super.defaults(),
|
|
|
|
{
|
|
|
|
admin: false,
|
2020-04-12 23:54:46 +02:00
|
|
|
teamId: 0,
|
2019-03-02 11:25:10 +01:00
|
|
|
}
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|