2022-08-04 20:57:43 +02:00
|
|
|
import AbstractModel from './abstractModel'
|
|
|
|
import type { IAvatar } from '@/modelTypes/IAvatar'
|
2022-07-21 00:42:36 +02:00
|
|
|
|
2022-09-06 11:36:01 +02:00
|
|
|
export default class AvatarModel extends AbstractModel<IAvatar> implements IAvatar {
|
2022-08-04 20:57:43 +02:00
|
|
|
avatarProvider: IAvatar['avatarProvider'] = 'default'
|
2022-06-23 03:22:21 +02:00
|
|
|
|
2022-08-14 12:15:45 +02:00
|
|
|
constructor(data: Partial<IAvatar>) {
|
|
|
|
super()
|
|
|
|
this.assignData(data)
|
2020-08-02 19:17:29 +02:00
|
|
|
}
|
|
|
|
}
|