import { BaseDto } from '../db/DBAccess';

export class ContactAddressDto implements BaseDto {
    id: string;
    address: string;
    privateKey?: string;
    publicKey: string;
    userName?: string;

    static get dbName() {
        return 'ContactAddresses';
    }

    constructor(id: string, address: string, publicKey: string, privateKey?: string, userName?: string) {
        this.id = id;
        this.address = address;
        this.publicKey = publicKey;
        this.privateKey = privateKey;
        this.userName = userName;
    }

}