2022-07-21 00:42:36 +02:00
|
|
|
import AbstractModel from '@/models/abstractModel'
|
2020-04-17 22:46:50 +02:00
|
|
|
|
2022-07-21 18:35:37 +02:00
|
|
|
export interface IPasswordUpdate extends AbstractModel {
|
2022-06-23 03:22:21 +02:00
|
|
|
newPassword: string
|
|
|
|
oldPassword: string
|
2022-07-21 00:42:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export default class PasswordUpdateModel extends AbstractModel implements IPasswordUpdate {
|
2022-08-13 15:38:41 +02:00
|
|
|
newPassword!: string
|
|
|
|
oldPassword!: string
|
2022-06-23 03:22:21 +02:00
|
|
|
|
2020-04-17 22:46:50 +02:00
|
|
|
defaults() {
|
|
|
|
return {
|
|
|
|
newPassword: '',
|
|
|
|
oldPassword: '',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|