|
import { Password } from "../domain/password";
|
|
|
|
import { View } from "./view";
|
|
|
|
export class PasswordHistoryView implements View {
|
|
password: string = null;
|
|
lastUsedDate: Date = null;
|
|
|
|
constructor(ph?: Password) {
|
|
if (!ph) {
|
|
return;
|
|
}
|
|
|
|
this.lastUsedDate = ph.lastUsedDate;
|
|
}
|
|
}
|