11 lines
No EOL
315 B
TypeScript
11 lines
No EOL
315 B
TypeScript
import AbstractModel from './abstractModel'
|
|
import type { IAvatar } from '@/modelTypes/IAvatar'
|
|
|
|
export default class AvatarModel extends AbstractModel<IAvatar> implements IAvatar {
|
|
avatarProvider: IAvatar['avatarProvider'] = 'default'
|
|
|
|
constructor(data: Partial<IAvatar>) {
|
|
super()
|
|
this.assignData(data)
|
|
}
|
|
} |