2022-08-04 20:57:43 +02:00
|
|
|
import AbstractModel from './abstractModel'
|
2020-04-17 22:46:50 +02:00
|
|
|
|
2022-08-04 20:57:43 +02:00
|
|
|
import type {IPasswordUpdate} from '@/modelTypes/IPasswordUpdate'
|
2022-07-21 00:42:36 +02:00
|
|
|
|
|
|
|
export default class PasswordUpdateModel extends AbstractModel implements IPasswordUpdate {
|
2022-08-14 12:15:45 +02:00
|
|
|
newPassword = ''
|
|
|
|
oldPassword = ''
|
2022-06-23 03:22:21 +02:00
|
|
|
|
2022-08-14 12:15:45 +02:00
|
|
|
constructor(data: Partial<IPasswordUpdate>) {
|
|
|
|
super()
|
|
|
|
this.assignData(data)
|
2020-04-17 22:46:50 +02:00
|
|
|
}
|
|
|
|
}
|