mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 11:13:46 +00:00
view model types
This commit is contained in:
28
src/models/view/identityView.ts
Normal file
28
src/models/view/identityView.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { View } from './view';
|
||||
|
||||
import { Identity } from '../domain/identity';
|
||||
|
||||
export class IdentityView implements View {
|
||||
title: string;
|
||||
firstName: string;
|
||||
middleName: string;
|
||||
lastName: string;
|
||||
address1: string;
|
||||
address2: string;
|
||||
address3: string;
|
||||
city: string;
|
||||
state: string;
|
||||
postalCode: string;
|
||||
country: string;
|
||||
company: string;
|
||||
email: string;
|
||||
phone: string;
|
||||
ssn: string;
|
||||
username: string;
|
||||
passportNumber: string;
|
||||
licenseNumber: string;
|
||||
|
||||
constructor(i?: Identity) {
|
||||
// ctor
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user