2019-03-02 11:25:10 +01:00
|
|
|
import UserModel from './user'
|
2020-11-02 21:47:31 +01:00
|
|
|
import merge from 'lodash/merge'
|
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,
|
2020-09-05 22:35:52 +02:00
|
|
|
},
|
2019-03-02 11:25:10 +01:00
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|