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

export enum ContactRole {
    SameUser,
    Administrator,
    Contact,
    TrustCircle,
}

export class ContactDto implements BaseDto {
    id: string;
    role: ContactRole;

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

    constructor(id: string, role: ContactRole) {
        this.id = id;
        this.role = role;
    }

}