vikunja-frontend/src/models/totp.ts
Dominik Pschenitschni 1a11b43ca8 feat: improve models
2022-09-13 14:59:02 +00:00

14 lines
No EOL
287 B
TypeScript

import AbstractModel from './abstractModel'
import type {ITotp} from '@/modelTypes/ITotp'
export default class TotpModel extends AbstractModel<ITotp> implements ITotp {
secret = ''
enabled = false
url = ''
constructor(data: Partial<ITotp>) {
super()
this.assignData(data)
}
}