Dominik Pschenitschni
1a11b43ca8
All checks were successful
continuous-integration/drone/push Build is passing
18 lines
412 B
TypeScript
18 lines
412 B
TypeScript
import AbstractModel from './abstractModel'
|
|
import type {IBackgroundImage} from '@/modelTypes/IBackgroundImage'
|
|
|
|
export default class BackgroundImageModel extends AbstractModel<IBackgroundImage> implements IBackgroundImage {
|
|
id = 0
|
|
url = ''
|
|
thumb = ''
|
|
info: {
|
|
author: string
|
|
authorName: string
|
|
} = {}
|
|
blurHash = ''
|
|
|
|
constructor(data: Partial<IBackgroundImage>) {
|
|
super()
|
|
this.assignData(data)
|
|
}
|
|
} |