bitwarden-estensione-browser/src/models/view/passwordHistoryView.ts

17 lines
314 B
TypeScript
Raw Normal View History

2018-07-27 22:44:20 +02:00
import { View } from './view';
import { Password } from '../domain/password';
export class PasswordHistoryView implements View {
password: string;
lastUsedDate: Date;
constructor(ph?: Password) {
if (!ph) {
return;
}
this.lastUsedDate = ph.lastUsedDate;
}
}